Last active
December 17, 2016 20:43
-
-
Save tyler-smith/061f84e2020a5b6ec8f554c983778232 to your computer and use it in GitHub Desktop.
Simple OpenBazaar Server Upstart Script
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
# Create an openbazaar user and group | |
# Checkout the server repo to /home/openbazaar/openbazaar | |
# Install virtual env to /home/openbazaar/openbazaar/venv and install the pip requirements there | |
setuid openbazaar | |
setgid openbazaar | |
chdir /home/openbazaar/openbazaar | |
respawn | |
start on runlevel [2345] | |
stop on runlevel [06] | |
exec ./venv/bin/python \ | |
./openbazaard.py start \ | |
-a 0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment