Attached is a proposed configuration script to allow one to run
squeezeslave as a service on Ubuntu / Debian. The script attempts to
automatically:
- create a random fake mac address for the squeezeslave instance
- figure out the correct output audio device
- figure out the ip address of the target lms
- writes the above to a configuration file at
/etc/default/squeezeslave
- creates a /etc/init.d/squeezeslave service script
- creates the service control links via update.rc.d
Requirements:
squeezeslave binary somewhere in the path (e.g. /usr/sbin/squeezeslave)
update.rc.d
Once run, you'll be able to start and run squeezeslave in the background
via:
# sudo service squeezeslave start
..and stop it via
# sudo service squeezeslave stop
Details of the service and the squeezeslave instance can be controlled
by editing the /etc/default/squeezeslave config file.
Enjoy.
+-------------------------------------------------------------------+
|Filename: config-squeezeslave.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13295|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=93607
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss