Commit [0cc4fd] Maximize Restore History

Generate the generic Linux init script with the configured sbin path.

Justin Maggard Justin Maggard 2013-11-02

changed Makefile.am
copied linux/minidlna.init.d.script -> linux/minidlna.init.d.script.tmpl
Makefile.am Diff Switch to side-by-side view
Loading...
linux/minidlna.init.d.script to linux/minidlna.init.d.script.tmpl
--- a/linux/minidlna.init.d.script
+++ b/linux/minidlna.init.d.script.tmpl
@@ -18,8 +18,8 @@
 # Short-Description: DLNA/UPnP-AV media server
 ### END INIT INFO
 
-MINIDLNA=/usr/sbin/minidlna
-PIDFILE=/var/run/minidlna.pid
+MINIDLNA=:SBINDIR:/minidlnad
+PIDFILE=/var/run/minidlna/minidlna.pid
 CONF=/etc/minidlna.conf
 ARGS="-f $CONF"