From release 17 onwards, wsgw includes the following files: * contrib/README.init * contrib/pianod.conf * contrib/pianod.raspbian.init The script expects wsgw to be installed at /usr/sbin/wsgw, but this can be changed in wsgw.conf. Text of README.init copied below == init.d service scripts for WSGW == The files wsgw.raspbian.init and wsgw.conf provide for running wsgw as a service on Linux using the older init.d script system. This includes many Linux distributions, but they are not all cross-compatible. The init script provided was tested on Raspbian, the Debian-based distribution for RaspberryPi. It will probably work on other Debians. Essentially it depends on /lib/lsb/init-functions defining shell functions like log_daemon_msg. Additionally, the script depends on the helper program start-stop-daemon. If you are trying to set up wsgw as a service on a systemd system (e.g. ArchLinuxARM), see README.service. == Installation == To add the service to your systemd Linux system, copy wsgw.raspbian.init to /etc/init.d/wsgw wsgw.init expects to have some environment variables set for it so copy wsgw.conf to /etc/wsgw.conf You can edit wsgw.conf to change the runtime options, add services, etc. By default, wsgw.conf just runs a service for pianod. You should then be able to control the wsgw service using: /etc/init.d/wsgw start /etc/init.d/wsgw status /etc/init.d/wsgw stop To set up the service to run at boot: update-rc.d wsgw defaults To disable: update-rc.d wsgw disable == Support == These files are provided as is. If you need support, you can try asking on the pianod mailing list: http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com For RaspberryPi support, you could also try the RaspberryPi forums: http://www.raspberrypi.org/phpBB3/