djfake wrote: > you can download a template init file here, > https://github.com/fhd/init-script-template > > I created a file called "sq2u" from the template, then just fill out > this section (my e.g., ymmv ) > dir="/usr/sbin/sq2u" > user="root" > cmd="./squeeze2upnp-x86" > > make it executable: > chmod +x sq2u > > then move it into place: > sudo mv /usr/sbin/sq2u /etc/init.d/ > sudo chmod +x /etc/init.d/sq2u > sudo update-rc.d sq2u defaults > > The script is nice because you can run commands on it. > Usage:/etc/init.d/sq2u {start|stop|restart|status} Just be warned that if sq2u starts before LMS it may misbehave. You could put an event dependency into the sq2u startup, trigger it from the LMS init.d, and then hopefully things will start in sequence, but I failed to get it working properly.
LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit, 44.1->192kbps. LMS & Squeeze2upnp to MF M1 CLiC (to MF amp & ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay (control point) to same renderers & to upmpdcli/mpd PC renderers. Squeezelite to Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 14.04 laptop with firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch with EDO, and a spare, but don't use. ------------------------------------------------------------------------ PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins