/droopy-init

Allows init control to the python webserver droopy

Primary LanguageShell

droopy-init

Allows init control to the python webserver droopy

Enables easy usage of the awesome little python webserver droopy and allows it to start on boot.

Setup

Edit the file by changing with the desired user account to run droopy as. (note there's 2 places!)
Save the file to /etc/init.d/droopy
Debian systems can then run "sudo update-rc.d droopy defaults" to install it.

Invocation

sudo /etc/init.d/droop {start|stop}

Requirements

Python - of course or droopy wont run!
screen - This script will launch a screen session named droopy as the configured user and than launch droopy into that session.