Skip to content

Instantly share code, notes, and snippets.

@jschumann
Forked from praseodym/hubot.service
Created November 9, 2016 19:24
Show Gist options
  • Select an option

  • Save jschumann/7064b71c1b52b0e1a969dbf8bf472c56 to your computer and use it in GitHub Desktop.

Select an option

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