From 32842555b0943bea51743b43882fd83924798797 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Tue, 21 May 2019 12:36:22 +0200 Subject: testing/mopidy: move to community --- community/mopidy/mopidy.initd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 community/mopidy/mopidy.initd (limited to 'community/mopidy/mopidy.initd') diff --git a/community/mopidy/mopidy.initd b/community/mopidy/mopidy.initd new file mode 100644 index 0000000000..6028d1e754 --- /dev/null +++ b/community/mopidy/mopidy.initd @@ -0,0 +1,18 @@ +#!/sbin/openrc-run + +name=mopidy +command="/usr/bin/mopidy" +command_args="--config /etc/mopidy/mopidy.conf" +command_user="mopidy" +start_stop_daemon_args="--background --make-pidfile" +pidfile="/run/mopidy.pid" + +depend() { + need net + after firewall +} + +start_pre() { + checkpath --directory --owner mopidy:audio --mode 0775 \ + /var/log/mopidy +} -- cgit v1.2.3