| 1 |
[Unit] |
| 2 |
Description=anope IRC services |
| 3 |
After=network.target |
| 4 |
|
| 5 |
[Service] |
| 6 |
Type=forking |
| 7 |
PIDFile=/run/anope/anope.pid |
| 8 |
RuntimeDirectory=anope |
| 9 |
# Service supports reloading via SIGHUP, but ExecReload= not set to kill |
| 10 |
# because signals are asynchronous and reload command should block until |
| 11 |
# reload actually finishes which we have no idea about. |
| 12 |
Environment="DAEMON_ARGS=--confdir=/etc/anope --dbdir=/var/lib/anope/db --logdir=/var/log/anope --modulesdir=/usr/lib/anope --localedir=/usr/share/anope/locale" |
| 13 |
EnvironmentFile=-/etc/default/anope |
| 14 |
ExecStart=/usr/sbin/anope $DAEMON_ARGS |
| 15 |
User=irc |
| 16 |
Group=irc |
| 17 |
|
| 18 |
[Install] |
| 19 |
WantedBy=multi-user.target |