aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd/hyperbot.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd/hyperbot.service')
-rw-r--r--contrib/systemd/hyperbot.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/systemd/hyperbot.service b/contrib/systemd/hyperbot.service
new file mode 100644
index 0000000..02af8c0
--- /dev/null
+++ b/contrib/systemd/hyperbot.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=The #hyperbola bot
+
+[Service]
+ExecStart=/srv/hyperbot/hyperbot start
+ExecStop=/srv/hyperbot/hyperbot stop
+User=hyperbot
+
+[Install]
+WantedBy=multi-user.target