summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-hostsd.service
blob: 8ff213d2bc269046f3cf87e3e011733292b6da57 (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 DNS configuration keeper
After=auditd.service systemd-user-sessions.service time-sync.target
Before=vyos-router.service cloud-init.service

[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