Last active
August 29, 2015 14:05
-
-
Save ralphtheninja/535b95908cd1a3b407d2 to your computer and use it in GitHub Desktop.
upstart conf for zetacoind
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
# save this file as: /etc/init/zetacoind.conf | |
# | |
# start zetacoind: 'sudo start zetacoind' | |
# | |
# stop zetacoind: 'sudo stop zetacoind' | |
# | |
# restart zetacoind: 'sudo restart zetacoind' | |
# note, if you change this configuration file, a restart is not enough, | |
# you need to stop and start | |
# | |
# list all upstart jobs: 'sudo initctl list` | |
description "upstart script for zetacoind" | |
author "ralphtheninja@riseup.net" | |
start on runlevel [2345] | |
stop on runlevel [^2345] | |
setuid ubuntu | |
setgid ubuntu | |
respawn | |
# logs to /var/log/upstart/zetacoind.log and rotates logs within upstart folder (gzipped) | |
# tip: sudo tail -f /var/log/upstart/zetacoind.log | |
# tip: sudo zcat /var/log/upstart/zetacoind.log.1.gz | less | |
console log | |
exec zetacoind |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not tested at all. Just a quick writeup. Might need some appropriate command line arguments to zetacoind as well.