summaryrefslogtreecommitdiff
path: root/ergo/ergo.service
diff options
context:
space:
mode:
authorDeposite Pirate2021-10-12 21:49:00 +0200
committerDeposite Pirate2021-10-12 21:49:00 +0200
commit23c31a9e39e6e8cd60f233a5e1e9e887df8e1bad (patch)
tree3bb4e08e65b28914c6b537355f9d59e7630ab904 /ergo/ergo.service
parent600e3735d1d0751236ca5ab1eb715ececf5388cb (diff)
* Ergo build which isn't lamebrained (ruby)
new file: ergo/.SRCINFO new file: ergo/.gitignore new file: ergo/PKGBUILD new file: ergo/ergo-paths.patch new file: ergo/ergo.install new file: ergo/ergo.service new file: ergo/ergo.sysusers new file: ergo/ergo.tmpfiles
Diffstat (limited to 'ergo/ergo.service')
-rw-r--r--ergo/ergo.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/ergo/ergo.service b/ergo/ergo.service
new file mode 100644
index 0000000..4a47d48
--- /dev/null
+++ b/ergo/ergo.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=A modern IRC server written in Go
+After=network.target
+
+[Service]
+Type=simple
+User=ergo
+Group=ergo
+WorkingDirectory=/var/lib/ergo
+ExecStart=/usr/bin/ergo run --conf /etc/ergo.conf
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target