-
-
Save jschumann/7064b71c1b52b0e1a969dbf8bf472c56 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