diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-08-05 14:52:43 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-08-05 14:52:43 +0200 |
commit | b4006c7e8d1fe968334471d98091a9ff3cb853ac (patch) | |
tree | 1adf2e895a667219790175a5bdb5c2e7c7c5557b /debian | |
parent | 21fc7c0292002448b0f5f1bf117d76ff85410ebd (diff) | |
download | vyatta-cfg-b4006c7e8d1fe968334471d98091a9ff3cb853ac.tar.gz vyatta-cfg-b4006c7e8d1fe968334471d98091a9ff3cb853ac.zip |
update script to correct file
Diffstat (limited to 'debian')
-rw-r--r-- | debian/systemd/vyatta-router.service | 22 | ||||
-rw-r--r-- | debian/vyatta-cfg.vyatta-router.service | 22 |
2 files changed, 21 insertions, 23 deletions
diff --git a/debian/systemd/vyatta-router.service b/debian/systemd/vyatta-router.service deleted file mode 100644 index 83d1751..0000000 --- a/debian/systemd/vyatta-router.service +++ /dev/null @@ -1,22 +0,0 @@ -[Unit] -SourcePath=/etc/init.d/vyatta-router -Description=VyOS Router -Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target getty@tty1.service getty@tty2.service getty@rrt3.service getty@tty4.service getty@tty5.service getty@tty6.service -After=systemd-journald-dev-log.socket time-sync.target local-fs.target vyatta-unicast.service -Conflicts=shutdown.target - -[Service] -Type=forking -Restart=no -TimeoutSec=5min -IgnoreSIGPIPE=no -KillMode=process -GuessMainPID=no -RemainAfterExit=yes -SysVStartPriority=4 -ExecStart=/etc/init.d/vyatta-router start -ExecStop=/etc/init.d/vyatta-router stop - -[Install] -WantedBy=multi-user.target - diff --git a/debian/vyatta-cfg.vyatta-router.service b/debian/vyatta-cfg.vyatta-router.service index 9d5cfa7..dcee11e 100644 --- a/debian/vyatta-cfg.vyatta-router.service +++ b/debian/vyatta-cfg.vyatta-router.service @@ -1 +1,21 @@ -systemd/vyatta-router.service +[Unit] +SourcePath=/etc/init.d/vyatta-router +Description=VyOS Router +Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target getty@tty1.service getty@tty2.service getty@rrt3.service getty@tty4.service getty@tty5.service getty@tty6.service +After=systemd-journald-dev-log.socket time-sync.target local-fs.target vyatta-unicast.service +Conflicts=shutdown.target + +[Service] +Type=forking +Restart=no +TimeoutSec=5min +IgnoreSIGPIPE=no +KillMode=process +GuessMainPID=no +RemainAfterExit=yes +SysVStartPriority=4 +ExecStart=/etc/init.d/vyatta-router start +ExecStop=/etc/init.d/vyatta-router stop + +[Install] +WantedBy=multi-user.target |