summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-hostsd.service
blob: fe6c163d7c31d0016f6225d8ba73a19c3cbfe512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=VyOS DNS configuration keeper
After=auditd.service systemd-user-sessions.service time-sync.target

[Service]
ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-hostsd
Type=idle
KillMode=process

SyslogIdentifier=vyos-hostsd
SyslogFacility=daemon

Restart=on-failure

# Does't work but leave it here
User=root
Group=vyattacfg

[Install]
# Installing in a earlier target leaves ExecStartPre waiting
WantedBy=getty.target