Created
May 11, 2016 22:14
-
-
Save rroemhild/6c2c70b659741ab2ba9ba6f5f8be9f46 to your computer and use it in GitHub Desktop.
Errbot systemd service
This file contains hidden or 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
[Unit] | |
Description=Errbot | |
After=network.target | |
[Service] | |
Type=forking | |
User=errbot | |
Environment="CONFIGFILE=/etc/errbot/config.py" | |
ExecStart=/usr/local/bin/errbot --daemon --config $CONFIGFILE | |
ExecStop=/bin/kill -SIGINT $MAINPID | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!