2020-04-23 03:44:04 +02:00
|
|
|
[Unit]
|
2021-05-30 08:39:20 +02:00
|
|
|
Description=ergo
|
2020-04-23 03:44:04 +02:00
|
|
|
After=network.target
|
|
|
|
# If you are using MySQL for history storage, comment out the above line
|
2020-05-24 23:45:09 +02:00
|
|
|
# and uncomment these two instead (you must independently install and configure
|
|
|
|
# MySQL for your system):
|
|
|
|
# Wants=mysql.service
|
2020-04-23 03:44:04 +02:00
|
|
|
# After=network.target mysql.service
|
|
|
|
|
|
|
|
[Service]
|
2021-07-04 13:41:59 +02:00
|
|
|
Type=notify
|
2021-05-30 08:39:20 +02:00
|
|
|
User=ergo
|
|
|
|
WorkingDirectory=/home/ergo
|
|
|
|
ExecStart=/home/ergo/ergo run --conf /home/ergo/ircd.yaml
|
2020-04-23 03:44:04 +02:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
Restart=on-failure
|
|
|
|
LimitNOFILE=1048576
|
2021-07-04 13:41:59 +02:00
|
|
|
NotifyAccess=main
|
2021-01-14 07:17:46 +01:00
|
|
|
# Uncomment this for a hidden service:
|
|
|
|
# PrivateNetwork=true
|
2020-04-23 03:44:04 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|