File: rdnssd.service

package info (click to toggle)
ndisc6 1.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,780 kB
  • sloc: sh: 5,057; ansic: 4,101; makefile: 184; perl: 35; sed: 16
file content (21 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=IPv6 Recursive DNS Server discovery Daemon
Documentation=man:rdnssd(8)
Before=network.target
Requires=network.target

[Service]
# Note: -u user (default:nobody) only applies to worker process,
#        manager (executing merge-hook) still runs as root.
Environment=MERGE_HOOK=/bin/true "OPTIONS=-u rdnssd"
EnvironmentFile=-/etc/default/rdnssd
Type=forking
ExecStartPre=/bin/mkdir -p /var/run/rdnssd
ExecStartPre=/bin/chown rdnssd:nogroup /var/run/rdnssd
ExecStartPre=/bin/chmod 0755 /var/run/rdnssd
ExecStart=/sbin/rdnssd $OPTIONS -H $MERGE_HOOK
PIDFile=/run/rdnssd.pid
Restart=on-failure

[Install]
WantedBy=multi-user.target