Created
April 6, 2014 06:42
-
-
Save jonasmalacofilho/10002303 to your computer and use it in GitHub Desktop.
psdash upstart job
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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