kych.install (1676B)
1 kych_oauth2_gateway/target/release/kych-oauth2-gateway usr/bin/ 2 kych_oauth2_gateway/target/release/kych-client-management usr/bin/ 3 4 # Schema creation and migration. kych-dbconfig creates the role and the 5 # database once; kych-dbinit applies the SQL patches and runs again from 6 # postinst on every upgrade. 7 kych_oauth2_gateway/target/release/kych-dbinit usr/bin/ 8 contrib/kych-dbconfig usr/bin/ 9 10 # The daemon serves /js from a path relative to its *working directory* 11 # (ServeDir::new("js") in main.rs), which is why the systemd unit sets 12 # WorkingDirectory=/usr/share/kych. Keep the two in sync. 13 kych_oauth2_gateway/js/qrcode.min.js usr/share/kych/js/ 14 15 # Database schema, loaded by kych-dbinit; SQL_DIR in the shipped defaults 16 # points at this directory. The glob is deliberate: a new oauth2gw-000N.sql 17 # patch should need no change here, and kych-dbinit applies whatever it finds 18 # in ascending order. 19 kych_oauth2_gateway/oauth2_gatewaydb/versioning.sql usr/share/kych/sql/ 20 kych_oauth2_gateway/oauth2_gatewaydb/oauth2gw-*.sql usr/share/kych/sql/ 21 22 # Not in usr/share/kych/sql: kych-dbinit would take drop.sql for a patch 23 # file, and dropping the schema is not a migration. 24 kych_oauth2_gateway/oauth2_gatewaydb/drop.sql usr/share/kych/ 25 26 # Man pages are generated into debian/man by debian/rules and installed from 27 # there by dh_installman; see debian/kych.manpages. 28 29 # Read before the conffile on every start, and replaced without asking on 30 # upgrade -- which is why the defaults live here and not in /etc. 31 contrib/config.d/00-kych-defaults.conf usr/share/kych/config.d/ 32 33 # Installed to /etc, hence registered as a conffile automatically. 34 debian/etc/kych/kych.conf etc/kych/