~singpolyma/biboumi

e01e34db22eb770efd0cb752bcfe4aad28157c93 — Florent Le Coz 10 years ago 5a43ac9
Provide an example unit file for systemd
1 files changed, 14 insertions(+), 0 deletions(-)

A unit/biboumi.service
A unit/biboumi.service => unit/biboumi.service +14 -0
@@ 0,0 1,14 @@
[Unit]
Description=Biboumi, XMPP to IRC gateway
After=network.target

[Service]
Type=notify
ExecStart=/usr/bin/biboumi /etc/biboumi/biboumi.cfg
ExecReload=/bin/kill -s USR1 $MAINPID
ExecStop=/bin/kill -s INT $MAINPID
WatchdogSec=10
Restart=always

[Install]
WantedBy=multi-user.target