forked from pool/bitlbee
30 lines
624 B
Plaintext
30 lines
624 B
Plaintext
# Copyright (c) 1995-2014 SUSE Linux AG, Nuernberg, Germany.
|
|
# All rights reserved.
|
|
#
|
|
# Author: Martin Caj <mcaj@suse.cz>
|
|
#
|
|
# /usr/lib/systemd/system/bitlbee-server.service
|
|
#
|
|
# and it's symbolic link
|
|
#
|
|
# /usr/sbin/rcbitlbee
|
|
|
|
[Unit]
|
|
Description=Bitblee Daemonm the IM to IRC gateway
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStartPre=/usr/bin/mkdir -p /run/bitlbee
|
|
ExecStartPre=/usr/bin/chown bitlbee.bitlbee /run/bitlbee
|
|
ExecStart=/usr/sbin/bitlbee
|
|
PIDFile=/run/bitlbee/bitlbee.pid
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=always
|
|
User=bitlbee
|
|
Group=bitlbee
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|