OSDN Git Service

New service: lsyncd.
authormobinmob <mobinmob@disroot.org>
Tue, 2 Nov 2021 16:26:14 +0000 (18:26 +0200)
committermobinmob <mobinmob@disroot.org>
Tue, 2 Nov 2021 16:26:14 +0000 (18:26 +0200)
usr/share/66/service/lsyncd [new file with mode: 0644]

diff --git a/usr/share/66/service/lsyncd b/usr/share/66/service/lsyncd
new file mode 100644 (file)
index 0000000..374b656
--- /dev/null
@@ -0,0 +1,11 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "lsync daemon"
+@user = ( root )
+
+[start]
+@execute = ( execl-cmdline -s { lsyncd --nodaemon ${conf_file} } )
+
+[environment]
+conf_file=/etc/lsyncd/lsyncd.conf.lua