diff options
Diffstat (limited to 'debian/systemd/vyatta-router.service')
-rw-r--r-- | debian/systemd/vyatta-router.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/systemd/vyatta-router.service b/debian/systemd/vyatta-router.service new file mode 100644 index 0000000..83d1751 --- /dev/null +++ b/debian/systemd/vyatta-router.service @@ -0,0 +1,22 @@ +[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 + |