diff options
author | Kim <kim.sidney@gmail.com> | 2018-10-14 21:33:06 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-10-15 02:33:06 +0700 |
commit | 576786c97065c8e5638e9e0a7cad688175cd3746 (patch) | |
tree | 8fc811fa1e16e4a63fd652d98394e7b4610ccfaf /debian/rules | |
parent | 1f1175135c8b15322852319150c8ed12d99b7a92 (diff) | |
download | vyatta-cfg-576786c97065c8e5638e9e0a7cad688175cd3746.tar.gz vyatta-cfg-576786c97065c8e5638e9e0a7cad688175cd3746.zip |
Rework vyos router init (#11)
* Add a systemd vyos.target and split the vyatta-router
init script to multiple systemd scripts.
* remove ref to cloud-init
* Remove vyatta-router init and rename vyatta-router to vyos-initialize.
* Install files to correct dirs
* try to fix systemd boot issues
* Update script names
run config load in background to not block systemd
* Prevent cat: write error: Broken pipe
* Rework vyos startup
* add systemd to Makefile.am
* Update script name
* Fix inclusion of getty conf
* Fix indentation
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index eab1375..2603b2d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f +DIR := debian/vyatta-cfg +VYOS_LIBEXEC_DIR := usr/libexec/vyos +SYSTEM_GENERATORS_DIR := lib/systemd/system-generators + export DH_OPTIONS ## uncomment to enable hardening @@ -44,5 +48,6 @@ override_dh_install: dh_install $(inst_opts) override_dh_systemd_enable: - dh_systemd_enable -pvyatta-cfg --name vyatta-router vyatta-router.service + dh_systemd_enable -pvyatta-cfg --name vyos-router vyos-router.service + dh_systemd_enable -pvyatta-cfg --name vyos vyos.target |