bitlbee/bitlbee.service-suse.in
Martin Caj 003c0bf5d7 Accepting request 587605 from home:lachs0r:branches:server:irc
- Add explicit build time dependency on Python 3.x
  (fixes TW build)
- Use systemd default ("control-group") KillMode for service
  ("process" is not sufficient)

OBS-URL: https://build.opensuse.org/request/show/587605
OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=43
2018-04-05 09:34:38 +00:00

27 lines
594 B
Plaintext

# Copyright (c) 1995-2015 SUSE Linux GmbH, 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 Daemon 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 -F -u bitlbee
PIDFile=/run/bitlbee/bitlbee.pid
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target