Skip to content

Instantly share code, notes, and snippets.

@praseodym
Last active May 10, 2017 15:39
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save praseodym/7fa4b44b4c767b876555 to your computer and use it in GitHub Desktop.
Save praseodym/7fa4b44b4c767b876555 to your computer and use it in GitHub Desktop.
Hubot systemd service file
[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