Last active
May 21, 2018 12:09
-
-
Save danypr92/e73984089cc3053835af54407e7b1333 to your computer and use it in GitHub Desktop.
Systemd Unit for ARA - https://github.com/openstack/ara
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
# Then copy this service in the `/etc/systemd/system/ara.local.service` | |
# Run your service with: | |
# # systemctl start ara.local.service | |
# Visit your ARA app in http://127.0.0.1:9191/ | |
# ----------------------------------- | |
# ARA systemd service | |
[Unit] | |
Description=ARA server | |
[Service] | |
ExecStart=/home/<USER>/.virtualenvs/ara/bin/ara-manage runserver | |
# Execute service like user | |
User=<USER> | |
# Restart service after all crashes but wait 5 secontds between restarts. | |
Restart=always | |
RestartSec=5 | |
# output stdout and stderr to syslog. (/var/log/messages) | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=ara |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment