mrDoctorWho/vk4xmpp — pull request #30 by unclev (2013-10-27 20:43:52+00:00)
Title: LSB Init Script

I've added /etc/init.d/vk4xmpp script.
Usage: /etc/init.d/vk4xmpp {start|stop|restart|status}
start - starts gateway.py in bacground in behalf of non-privileged user;
stop - kills (TERM) gateway.py by pid stored in pidFile.txt
restart - does stop && start
status - lists the process with pid stored in pidFile.txt (or if not found by pid - gateway.py). If not found echoes "VKontakte transport vk4xmpp stopped".