summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-netlinkd.service
blob: 6c8a80878c6856d5b7677d8f7a53a9c606a6f4c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[Unit]
Description=VyOS netlink daemon

# Without this option, lots of default dependencies are added,
# among them network.target, which creates a dependency cycle
DefaultDependencies=no

# Seemingly sensible way to say "as early as the system is ready"
# All vyos-netlinkd needs is read/write mounted root
After=systemd-remount-fs.service vyos-router.service

[Service]
ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-netlinkd
Type=simple

SyslogIdentifier=vyos-netlinkd
SyslogFacility=daemon

Restart=on-failure

User=root
Group=vyattacfg

[Install]
WantedBy=vyos.target