johns-docker-stuff/forked-daapd/start

10 lines
273 B
Plaintext
Raw Permalink Normal View History

2014-11-22 16:31:49 +00:00
#!/bin/sh
ruby -rerb -e 'ERB.new($stdin.read).run(binding)' < /etc/forked-daapd.conf.erb > /etc/forked-daapd.conf
/etc/init.d/dbus start
/etc/init.d/avahi-daemon start
/usr/sbin/forked-daapd -f -c /etc/forked-daapd.conf
/etc/init.d/avai-daemon stop
/etc/init.d/dbus stop