]> git.pld-linux.org Git - packages/daemontools.git/commitdiff
- do not depend on network auto/th/daemontools-0_76-12
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 23 Mar 2012 23:02:55 +0000 (23:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    daemontools.init -> 1.24
    daemontools.spec -> 1.52

daemontools.init
daemontools.spec

index 45b9992573771564e2784dacf14c9d5a4eaab06d..3c5882e566460ee1333f83a1d64d06a5fc9eaabd 100644 (file)
 
 upstart_controlled --except status
 
-# Get network config
-. /etc/sysconfig/network
-
 # Get service config
 [ -f /etc/sysconfig/svscan ] && . /etc/sysconfig/svscan
 
-# Check that networking is up.
-if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-               msg_network_down svscan
-               exit 1
-       fi
-else
-       exit 0
-fi
-
 start() {
        # Check if the service is already running?
        if [ -f /var/lock/subsys/svscan ]; then
index a276c7f5bcbdc3afa84d185f99c2f3d81188efbb..987922a131aa6a6e729ef13af4268d0b9b94db68 100644 (file)
@@ -2,7 +2,7 @@ Summary:        D. J. Bernstein daemontools
 Summary(pl.UTF-8):     daemontools D. J. Bernsteina
 Name:          daemontools
 Version:       0.76
-Release:       11
+Release:       12
 License:       Public Domain
 Group:         Networking/Admin
 Source0:       http://cr.yp.to/daemontools/%{name}-%{version}.tar.gz
This page took 0.065369 seconds and 4 git commands to generate.