summaryrefslogtreecommitdiffstats
path: root/systemd/oragono.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/oragono.service')
-rw-r--r--systemd/oragono.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/systemd/oragono.service b/systemd/oragono.service
new file mode 100644
index 0000000..3583352
--- /dev/null
+++ b/systemd/oragono.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=oragono
+After=network.target mnt-gluster01.mount
+# Requires=mysql.service
+# After=network.target mnt-gluster01.mount mysql.service
+
+[Service]
+Type=simple
+User=oragono
+Group=oragono
+WorkingDirectory=/opt/oragono/ergo
+ExecStart=/opt/oragono/ergo/ergo run --conf /mnt/gluster01/oragono/ircd.yaml
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
+LimitNOFILE=1048576
+SyslogIdentifier=ergo
+
+[Install]
+WantedBy=multi-user.target