| 1 |
[Unit] |
| 2 |
Description=ergo |
| 3 |
After=network.target |
| 4 |
# If you are using MySQL for history storage, comment out the above line |
| 5 |
# and uncomment these two instead (you must independently install and configure |
| 6 |
# MySQL for your system): |
| 7 |
# Wants=mysql.service |
| 8 |
# After=network.target mysql.service |
| 9 |
|
| 10 |
[Service] |
| 11 |
Type=notify |
| 12 |
User=ergo |
| 13 |
WorkingDirectory=/home/ergo |
| 14 |
ExecStart=/home/ergo/ergo run --conf /home/ergo/ircd.yaml |
| 15 |
ExecReload=/bin/kill -HUP $MAINPID |
| 16 |
Restart=on-failure |
| 17 |
LimitNOFILE=1048576 |
| 18 |
NotifyAccess=main |
| 19 |
# Uncomment this for a hidden service: |
| 20 |
# PrivateNetwork=true |
| 21 |
|
| 22 |
[Install] |
| 23 |
WantedBy=multi-user.target |