binarybucks/mqttitude — pull request #164 by lucifer4o (2013-10-28 22:42:32+00:00)
Title: Start|Stop script for m2s

As I want to run m2s on system boot time, and executing m2s with root access is ... dumb, I've created this little script.

M2SDIR - where m2s resides on your system.
USER - under which user you want m2s to run. User needs to have rw acces to M2SDIR.
PIDFILE - Where the pid file need to reside (I use /tmp). USER needs to have RW access to PIDFILE

!!!If you don't like it, make a comment to spin off it.!!!