summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Graham <joseph@fibreglass.tunachunks>2014-07-13 07:55:14 +0100
committerJoseph Graham <joseph@fibreglass.tunachunks>2014-07-13 07:55:14 +0100
commit4109b4db909ad895ea07292136214923cb358813 (patch)
tree77895d01f0681452cac9a292e81c6ef92bd5be08
parent7aeaf3525f58c710ed68c5e3cd8d6937b5fb2c7d (diff)
made a service file for systemd
-rw-r--r--systemd/pbot.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/pbot.service b/systemd/pbot.service
new file mode 100644
index 0000000..bdb0144
--- /dev/null
+++ b/systemd/pbot.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=The #parabola bot
+
+[Service]
+ExecStart=/home/pbot/pbot start
+ExecStop=/home/pbot/pbot stop
+User=pbot
+
+[Install]
+WantedBy=multi-user.target