SHA256
1
0
forked from pool/bitlbee
bitlbee/bitlbee.service-suse.in
Martin Caj e7b79f98ff Accepting request 260546 from home:tampakrap:branches:server:irc
- Fix the postun to silence the rpmlint
- Whitespace
- Add dependency for openSUSE >= 13.2
- Remove user/group from systemd service file. Bitlbee can drop privileges to
  the user if specified so in its config file.

OBS-URL: https://build.opensuse.org/request/show/260546
OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=29
2014-11-10 11:43:37 +00:00

28 lines
596 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
[Install]
WantedBy=multi-user.target