summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg.vyos-router.service
blob: 8f40cdcf784e1cc4f5782580476b469a1cdf1f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=VyOS Router
After=systemd-journald-dev-log.socket time-sync.target local-fs.target cloud-config.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

[Mount]
Where=/sys/fs/bpf
What=bpf
Type=bpf