Debian Codegraph @

debian/service

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