24 lines
498 B
SYSTEMD
24 lines
498 B
SYSTEMD
|
[Unit]
|
||
|
Description=LLDP daemon
|
||
|
Documentation=man:lldpd(8)
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=notify
|
||
|
NotifyAccess=main
|
||
|
EnvironmentFile=-/etc/sysconfig/lldpd
|
||
|
ExecStart=/usr/sbin/lldpd $DAEMON_ARGS $LLDPD_OPTIONS
|
||
|
Restart=on-failure
|
||
|
PrivateTmp=yes
|
||
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_PACKET AF_NETLINK AF_UNIX
|
||
|
ProtectHome=yes
|
||
|
ReadWritePaths=/var/run/lldpd
|
||
|
ProtectSystem=strict
|
||
|
ProtectKernelTunables=yes
|
||
|
ProtectControlGroups=yes
|
||
|
ProtectKernelModules=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|