diff options
Diffstat (limited to '')
-rw-r--r-- | src/daemon/lldpd.service.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/daemon/lldpd.service.in b/src/daemon/lldpd.service.in new file mode 100644 index 0000000..80288a5 --- /dev/null +++ b/src/daemon/lldpd.service.in @@ -0,0 +1,22 @@ +[Unit] +Description=LLDP daemon +Documentation=man:lldpd(8) +After=network.target +RequiresMountsFor=@PRIVSEP_CHROOT@ + +[Service] +Type=notify +NotifyAccess=main +EnvironmentFile=-/etc/default/lldpd +EnvironmentFile=-/etc/sysconfig/lldpd +ExecStart=@sbindir@/lldpd $DAEMON_ARGS $LLDPD_OPTIONS +Restart=on-failure +PrivateTmp=yes +ProtectHome=yes +ProtectKernelTunables=no +ProtectControlGroups=yes +ProtectKernelModules=yes +#ProtectSystem=full + +[Install] +WantedBy=multi-user.target |