[SCM] forked-daapd/master: Add Upstart init script
rbalint at users.alioth.debian.org
rbalint at users.alioth.debian.org
Thu Jun 12 00:02:12 UTC 2014
The following commit has been merged in the master branch:
commit 48bc3a6a92c3d883fb25dc628cec73a7df19424a
Author: Espen Jürgensen <espenjurgensen at gmail.com>
Date: Tue Jun 3 09:55:12 2014 +0700
Add Upstart init script
diff --git a/debian/forked-daapd.upstart b/debian/forked-daapd.upstart
new file mode 100644
index 0000000..569690d
--- /dev/null
+++ b/debian/forked-daapd.upstart
@@ -0,0 +1,12 @@
+description "DAAP/DACP (iTunes) server, support for AirPlay and Spotify"
+author "Espen Jürgensen <espenjurgensen at gmail.com>"
+
+start on started avahi-daemon
+stop on stopping avahi-daemon
+
+# If the server fails try to respawn it, but not more than once in a minute
+respawn
+respawn limit 1 60
+
+# Run in foreground - if not we would need to set the expect stanza
+exec forked-daapd -f
--
forked-daapd packaging
More information about the pkg-multimedia-commits
mailing list