OSDN Git Service

New service: cachefilesd.
authormobinmob <mobinmob@disroot.org>
Fri, 15 Oct 2021 15:35:50 +0000 (18:35 +0300)
committermobinmob <mobinmob@disroot.org>
Fri, 15 Oct 2021 15:35:50 +0000 (18:35 +0300)
usr/share/66/service/cachefilesd [new file with mode: 0644]

diff --git a/usr/share/66/service/cachefilesd b/usr/share/66/service/cachefilesd
new file mode 100644 (file)
index 0000000..2088520
--- /dev/null
@@ -0,0 +1,17 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "cachefiles daemon"
+@user = ( root )
+
+[start]
+@execute = ( 
+       # -qab is used in the upstream service
+       if { modprobe -qab cachefiles }
+       execl-cmdline -s { cachefilesd -n ${cmd_args} } )
+)
+       
+[environment]
+# -s is used in order to redirect logging output to stderr for the per-service logger.
+# for more switches, see the cachefilesd(8) manual. 
+cmd_args=!-s -f /etc/cachefilesd.conf