summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-router.service
blob: 6f683cebb0ca852b4cede57b7e79e5b16725a5dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=VyOS Router
After=systemd-journald-dev-log.socket time-sync.target local-fs.target cloud-config.service
Requires=frr.service
Conflicts=shutdown.target
Before=systemd-user-sessions.service

[Service]
Type=simple
Restart=no
TimeoutSec=20min
KillMode=process
RemainAfterExit=yes
ExecStart=/usr/libexec/vyos/init/vyos-router start
ExecStop=/usr/libexec/vyos/init/vyos-router stop
StandardOutput=journal+console

[Install]
WantedBy=vyos.target