Last active
May 10, 2017 15:39
-
-
Save praseodym/7fa4b44b4c767b876555 to your computer and use it in GitHub Desktop.
Hubot systemd service file
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=Hubot | |
Requires=network.target | |
After=network.target | |
[Service] | |
Type=simple | |
WorkingDirectory=/opt/hubot | |
User=hubot | |
Restart=always | |
RestartSec=10 | |
Environment=HUBOT_aaa=xxx HUBOT_bbb=yyy | |
ExecStart=/opt/hubot/bin/hubot --adapter zzz | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment