OSDN Git Service

New service: lldpd.
authormobinmob <mobinmob@disroot.org>
Tue, 19 Oct 2021 12:23:27 +0000 (15:23 +0300)
committermobinmob <mobinmob@disroot.org>
Tue, 19 Oct 2021 12:23:27 +0000 (15:23 +0300)
usr/share/66/service/lldpd [new file with mode: 0644]

diff --git a/usr/share/66/service/lldpd b/usr/share/66/service/lldpd
new file mode 100644 (file)
index 0000000..574c074
--- /dev/null
@@ -0,0 +1,12 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "LLDP daemon"
+@user = ( root )
+
+[start]
+@execute = ( execl-cmdline -s { lldpd -d ${cmd_args} } )
+
+[environment]
+# The second -d is for sending logs to stdout for the per-service logger.
+cmd_args=! -d