OSDN Git Service

New service: mpdscribble.
authormobinmob <mobinmob@disroot.org>
Fri, 14 May 2021 16:31:06 +0000 (19:31 +0300)
committermobinmob <mobinmob@disroot.org>
Fri, 14 May 2021 16:31:06 +0000 (19:31 +0300)
usr/share/66/service/mpdscribble [new file with mode: 0644]

diff --git a/usr/share/66/service/mpdscribble b/usr/share/66/service/mpdscribble
new file mode 100644 (file)
index 0000000..2f81402
--- /dev/null
@@ -0,0 +1,13 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "MPD audio scrobbler"
+@user = ( root )
+
+[start]
+@execute = ( execl-cmdline -s { mpdscribble --no-daemon ${cmd_args} })
+
+[environment]
+# --log - sends logs to stderr, --log syslog sends to syslog.
+# Please see mpdscribble(8) for more options.
+cmd_args=!--log -