]> git.somenet.org - root/pub/somesible.git/blob - roles/server/irc-services/files/default/anope.service
[roles/server/irc-services] install anope
[root/pub/somesible.git] / roles / server / irc-services / files / default / anope.service
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 [Unit]
10 Description=Anope IRC-Services
11 After=network.target inspircd.service
12
13 [Service]
14 Type=forking
15 PIDFile=/run/anope/anope.pid
16 RuntimeDirectory=anope
17 WorkingDirectory=/srv/anope/
18 User=anope
19 Group=anope
20 ExecStart=/usr/sbin/anope --confdir=/etc/anope --dbdir=/srv/anope/db --logdir=/var/log/anope --modulesdir=/usr/lib/anope --localedir=/usr/share/anope/locale
21 ExecReload=/bin/kill -HUP $MAINPID
22 Restart=always
23 RestartSec=30
24
25 [Install]
26 WantedBy=multi-user.target