diff options
Diffstat (limited to 'ergo/ergo.service')
-rw-r--r-- | ergo/ergo.service | 15 |
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 |