21 строка
426 B
SYSTEMD
21 строка
426 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
|
||
|
ReadWriteDirectories=/var/run/lldpd
|
||
|
ProtectSystem=full
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|