]> git.ipfire.org Git - thirdparty/lldpd.git/blob - src/daemon/lldpd.service.in
daemon: use RuntimeDirectory= instead of mkdir to create chroot
[thirdparty/lldpd.git] / src / daemon / lldpd.service.in
1 [Unit]
2 Description=LLDP daemon
3 Documentation=man:lldpd(8)
4 After=network.target
5 RequiresMountsFor=@PRIVSEP_CHROOT@
6
7 [Service]
8 Type=notify
9 NotifyAccess=main
10 EnvironmentFile=-/etc/default/lldpd
11 EnvironmentFile=-/etc/sysconfig/lldpd
12 RuntimeDirectory=@PRIVSEP_CHROOT@
13 ExecStart=@sbindir@/lldpd $DAEMON_ARGS $LLDPD_OPTIONS
14 Restart=on-failure
15 PrivateTmp=yes
16 ProtectHome=yes
17 ProtectSystem=yes
18 ProtectSystem=full
19 ProtectKernelTunables=yes
20 ProtectControlGroups=yes
21 ProtectKernelModules=yes
22
23 [Install]
24 WantedBy=multi-user.target