rsyslog: switched to use /run for pidfile.

This commit is contained in:
Juan RP 2012-07-09 12:10:12 +02:00
parent 935975666e
commit 4692db7160
2 changed files with 6 additions and 5 deletions

View file

@ -1,10 +1,11 @@
--- rsyslog.service.in.orig 2012-07-04 10:33:16.139076386 +0200
+++ rsyslog.service.in 2012-07-04 10:33:30.618731458 +0200
@@ -2,7 +2,6 @@
--- rsyslog.service.in.orig 2012-07-09 12:08:34.295681549 +0200
+++ rsyslog.service.in 2012-07-09 12:08:44.446952249 +0200
@@ -2,8 +2,7 @@
Description=System Logging Service
[Service]
-ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
ExecStart=@sbindir@/rsyslogd -n -c6
-ExecStart=@sbindir@/rsyslogd -n -c6
+ExecStart=@sbindir@/rsyslogd -n -c6 -i /run/rsyslogd.pid
Sockets=syslog.socket
StandardOutput=null

View file

@ -1,7 +1,7 @@
# Template file for 'rsyslog'
pkgname=rsyslog
version=6.2.2
revision=3
revision=4
build_style=gnu-configure
configure_args="--enable-gnutls --enable-mysql --enable-pgsql
--enable-imdiag --enable-imfile --enable-mail --enable-gssapi-krb5