From 23c31a9e39e6e8cd60f233a5e1e9e887df8e1bad Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Tue, 12 Oct 2021 21:49:00 +0200 Subject: * 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 --- ergo/ergo.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ergo/ergo.service (limited to 'ergo/ergo.service') 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 -- cgit v1.2.3-70-g09d2