Skip to content

Commit

Permalink
documents: ircbot の systemd 用サービスユニットファイルを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
koi-chan committed Aug 17, 2016
1 parent 430697d commit 18a1222
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/log-archiver_ircbot.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Unit]
Description=LogArchiver IRC Bot - IRC Log Save and Viewer
Documentation=https://github.com/cre-ne-jp/log-archiver
After=network.target

[Service]
User=logarchiver
Group=logarchiver
Type=simple
PIDFile=/home/logarchiver/log-archiver/tmp/ircbot.pid
WorkingDirectory=/home/logarchiver/log-archiver
ExecStart=/home/logarchiver/log-archiver/bin/ircbot -v
#ExecReload=/usr/bin/kill -HUP $MAINPID
ExecStop=/usr/bin/kill $MAINPID
Restart=always

[Install]
WantedBy=multi-user.target

0 comments on commit 18a1222

Please sign in to comment.