From 766a756914696887a02094f61179d92408c15208 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 19 Feb 2015 14:06:53 +0200 Subject: [PATCH] add untested supybot.service --- etc/systemd/system/supybot.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 etc/systemd/system/supybot.service diff --git a/etc/systemd/system/supybot.service b/etc/systemd/system/supybot.service new file mode 100644 index 00000000..29d02b95 --- /dev/null +++ b/etc/systemd/system/supybot.service @@ -0,0 +1,14 @@ +[Unit] +Description=Supybot +After=network.target + +[Service] +Type=simple +PIDFile=/home/bot/botname/botname.pid +ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf +ExecReload=/bin/kill -HUP $MAINPID +Restart=always +User=bot + +[Install] +WantedBy=multi-user.target