[prev in list] [next in list] [prev in thread] [next in thread] 

List:       luci-commits
Subject:    [Luci-commits] [luci/pkg-update] spec: PID file to be stored at /var/run/luci.pid
From:       jpokorny () fedoraproject ! org (Jan Pokorny)
Date:       2010-11-30 14:13:36
Message-ID: 20101130141336.514E3120286 () lists ! fedorahosted ! org
[Download RAW message or body]

commit 05ca2a98217afac0869c267eccc5bbca10a0f77f
Author: Jan Pokorny <jpokorny at redhat.com>
Date:   Tue Nov 30 15:05:12 2010 +0100

    spec: PID file to be stored at /var/run/luci.pid
    
    ... instead of current /var/lib/luci/data/luci.pid
    
    see:
    /etc/rc.d/init.d/functions
    http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
    http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html

 luci.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/luci.spec b/luci.spec
index 06d9ac5..506345a 100644
--- a/luci.spec
+++ b/luci.spec
@@ -34,16 +34,17 @@
 %global lucicachedir        %{lucidatadir}/cache
 %global lucisessionsdir     %{lucidatadir}/sessions
 %global lucidbfile          %{lucidatadir}/%{name}.db
-%global lucipidfile         %{lucidatadir}/%{name}.pid
 
 %global lucicertconfig      %{luciconfdir}/cacert.config
 %global lucicertrandom      %{lucicertdir}/privkey.rnd
 %global lucicertpem         %{lucicertdir}/host.pem
 
+%global lucipidfile         /var/run/%{servicename}.pid
 %global luciinitscript      %{_initddir}/%{luciservice}
 %global lucisysconfig       %{_sysconfdir}/sysconfig/%{luciservice}
 %global lucipamconfig       %{_sysconfdir}/pam.d/%{luciservice}
 %global lucisasl2config     %{_sysconfdir}/sasl2/%{luciservice}.conf
+
 %global lucilogfile         %{lucilogdir}/%{name}.log
 %global lucilogrotateconfig %{_sysconfdir}/logrotate.d/%{name}
 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic