Skip to content

Instantly share code, notes, and snippets.

@jonasmalacofilho
Created April 6, 2014 06:42
Show Gist options
  • Save jonasmalacofilho/10002303 to your computer and use it in GitHub Desktop.
Save jonasmalacofilho/10002303 to your computer and use it in GitHub Desktop.
psdash upstart job
# psdash upstart script
# this job will start/stop psdash
description "start and stop the psdash daemon"
author "Jonas Malaco Filho"
start on runlevel [2345]
stop on runlevel [!2345]
#env PSDASH_AUTH_USERNAME=admin
#env PSDASH_AUTH_PASSWORD=admin
env PSDASH_ALLOWED_REMOTE_ADDRESSES="127.0.0.1"
exec /usr/bin/python /usr/local/bin/psdash --log /var/log/dmesg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment