288a41e458
- update to 3.4: See the package change log for more details. - Remove obsoleted COPYING.patch - Enhance the service file to start in daemon mode and as user bitlbee and create a user group too while calling useradd on install; (boo#928228). OBS-URL: https://build.opensuse.org/request/show/298676 OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=31
28 lines
610 B
Plaintext
28 lines
610 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 -D -u bitlbee
|
|
PIDFile=/run/bitlbee/bitlbee.pid
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|