diff options
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 |