-
-
Save foursixnine/a6d24d9e9e106c86b13eeeb0f3d2b1aa to your computer and use it in GitHub Desktop.
Aptly API upstart
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
description "Stat HTTP server with aptly REST API" | |
start on filesystem or runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
umask 022 | |
chdir / | |
setuid smartmatic | |
setgid smartmatic | |
console log # log stdout/stderr to /var/log/upstart/ | |
#our jenkins server is running on port 8080 in algol-a | |
exec /usr/bin/aptly api serve -listen=:9090 -no-lock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment