~singpolyma/biboumi

biboumi/unit/biboumi.service.cmake -rw-r--r-- 439 bytes
12223354Stephen Paul Weber Fix caps hash 3 months ago
                                                                                
e01e34db Florent Le Coz
29567eef louiz’
e01e34db Florent Le Coz
25475b60 Florent Le Coz
e01e34db Florent Le Coz
d58dcde8 Florent Le Coz
e01e34db Florent Le Coz
ad15924a Emmanuel Gil Peyrot
a0d24b48 louiz’
e01e34db Florent Le Coz
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Biboumi, XMPP to IRC gateway
Documentation=man:biboumi(1) https://biboumi.louiz.org
After=network.target

[Service]
Type=${SYSTEMD_SERVICE_TYPE}
ExecStart=${CMAKE_INSTALL_PREFIX}/bin/biboumi /etc/biboumi/biboumi.cfg
ExecReload=/bin/kill -s USR1 $MAINPID
WatchdogSec=${WATCHDOG_SEC}
Restart=always
User=${SERVICE_USER}
Group=${SERVICE_GROUP}
AmbientCapabilities=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target