Accepting request 299044 from home:lmuelle

- Let systemd start bitlbee in fork daemon mode by default.
- Cleanup of the spec file, the init script, and the systemd configuration.

OBS-URL: https://build.opensuse.org/request/show/299044
OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee?expand=0&rev=33
This commit is contained in:
Theo Chatzimichos 2015-04-24 07:51:19 +00:00 committed by Git OBS Bridge
parent f82a398a65
commit 293bada27e
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 23 18:45:03 UTC 2015 - lmuelle@suse.com
- Let systemd start bitlbee in fork daemon mode by default.
- Cleanup of the spec file, the init script, and the systemd configuration.
-------------------------------------------------------------------
Thu Apr 23 13:40:28 UTC 2015 - lmuelle@suse.com

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Copyright (c) 1995-2014 SUSE Linux AG, Nuernberg, Germany.
# Copyright (c) 1995-2015 SUSE Linux GmbH, Nuernberg, Germany.
# All rights reserved.
#
# Author: Martin Caj <mcaj@suse.cz>

View File

@ -1,4 +1,4 @@
# Copyright (c) 1995-2014 SUSE Linux AG, Nuernberg, Germany.
# Copyright (c) 1995-2015 SUSE Linux GmbH, Nuernberg, Germany.
# All rights reserved.
#
# Author: Martin Caj <mcaj@suse.cz>
@ -17,7 +17,7 @@ After=network.target
Type=forking
ExecStartPre=/usr/bin/mkdir -p /run/bitlbee
ExecStartPre=/usr/bin/chown bitlbee.bitlbee /run/bitlbee
ExecStart=/usr/sbin/bitlbee -D -u bitlbee
ExecStart=/usr/sbin/bitlbee -F -u bitlbee
PIDFile=/run/bitlbee/bitlbee.pid
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process

View File

@ -1,7 +1,7 @@
#
# spec file for package bitlbee
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014-2015 SUSE Linux GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -24,7 +24,7 @@
%define with_libotr 1
%endif
#define systemd for the new OpenSUSE only:
#define systemd macro on post-12.3 systems only:
%if 0%{?suse_version} >= 1310
%define with_systemd 1
%else