summaryrefslogtreecommitdiff
path: root/ergo/ergo.service
diff options
context:
space:
mode:
authorDeposite Pirate2021-12-12 16:30:11 +0100
committerDeposite Pirate2021-12-12 16:30:11 +0100
commitc4043ac69e2d3de764bf5600db06f65258e4e446 (patch)
tree46a0f3813c261f8fb21bac098671352a16848957 /ergo/ergo.service
parentcd8bf82e7f8aed5d82ab0a9f45206d9c01861112 (diff)
Update ergo to 2.8.0
modified: ergo/.SRCINFO modified: ergo/PKGBUILD modified: ergo/ergo.service
Diffstat (limited to 'ergo/ergo.service')
-rw-r--r--ergo/ergo.service11
1 files changed, 10 insertions, 1 deletions
diff --git a/ergo/ergo.service b/ergo/ergo.service
index 4a47d48..f53903b 100644
--- a/ergo/ergo.service
+++ b/ergo/ergo.service
@@ -1,15 +1,24 @@
[Unit]
Description=A modern IRC server written in Go
After=network.target
+# If you are using MySQL for history storage, comment out the above line
+# and uncomment these two instead (you must independently install and configure
+# MySQL for your system):
+# Wants=mysql.service
+# After=network.target mysql.service
[Service]
-Type=simple
+Type=notify
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
+LimitNOFILE=1048576
+NotifyAccess=main
+# Uncomment this for a hidden service:
+# PrivateNetwork=true
[Install]
WantedBy=multi-user.target