From a7b59a951b5b884bb2ba0fd1105918d2d5150fcd Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:34:32 +0200 Subject: Initial Systemd Service Run: 1/3 Signed-off-by: Georg --- systemd/oragono.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 systemd/oragono.service (limited to 'systemd/oragono.service') 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 -- cgit v1.2.3