Created
March 11, 2015 14:19
-
-
Save koi-chan/e49a6a2311a06de06a95 to your computer and use it in GitHub Desktop.
This file contains 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=RGRB - Internet Relay Chat bot | |
Documentation=http://www.cre.ne.jp/services/irc/bots/rgrb | |
After=network.target | |
[Service] | |
User=irc | |
Group=irc | |
Type=simple | |
PIDFile=/home/irc/rgrb/%I.pid | |
WorkingDirectory=/home/irc/rgrb | |
ExecStart=/home/irc/rgrb/bin/rgrb-ircbot -c config/%I.yaml | |
#ExecReload=/usr/bin/kill -HUP $MAINPID | |
ExecStop=/usr/bin/kill $MAINPID | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment