summaryrefslogtreecommitdiffstats
path: root/systemd/frippy.service
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2017-11-16 02:53:05 +0100
committerJokler <jokler.contact@gmail.com>2017-11-16 02:53:05 +0100
commit15e855ddecfdac31ddda26b12fcfd1a142a0ec21 (patch)
treeb06e3bd122f5da69a7418c94e2a07fb4a529f897 /systemd/frippy.service
parentcb07b259950d4762ceb609266cd1e8ae0ef60dad (diff)
parentb8c25860ad769a466e7c50bbbb51b653dd55ccfb (diff)
downloadfrippy-dac9b51d00d16c9b57f99cdd43a6f9c8470bf672.tar.gz
frippy-dac9b51d00d16c9b57f99cdd43a6f9c8470bf672.zip
Merge branch 'dev'v0.3.1
Diffstat (limited to 'systemd/frippy.service')
-rw-r--r--systemd/frippy.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd/frippy.service b/systemd/frippy.service
new file mode 100644
index 0000000..1fb6cd7
--- /dev/null
+++ b/systemd/frippy.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=IRC Bot written in Rust
+After=network-online.target
+
+[Service]
+Type=simple
+User=frippy
+Group=frippy
+WorkingDirectory=/etc/frippy
+ExecStart=/usr/bin/frippy
+Restart=always
+RestartSec=30
+
+[Install]
+WantedBy=multi-user.target