فهرست منبع

remove PID file (after we know that the PID is no longer existing) as rsync daemon dislikes to startup if an old PID file is still staying around

Ralf S. Engelschall 17 سال پیش
والد
کامیت
1f9a7c6a83
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 0
      rsync/rc.rsync
  2. 1 1
      rsync/rsync.spec

+ 1 - 0
rsync/rc.rsync

@@ -35,6 +35,7 @@
     rcService rsync enable yes || exit 0
     rcService rsync active yes && exit 0
     rcVarIsYes rsync_daemon || exit 0
+    rm -f $rsync_pidfile 2>/dev/null || true
     nice -n $rsync_nice @l_prefix@/bin/rsync \
          $rsync_flags --daemon --config=$rsync_cfgfile
     sleep 2

+ 1 - 1
rsync/rsync.spec

@@ -32,7 +32,7 @@ Class:        CORE
 Group:        Filesystem
 License:      GPL
 Version:      3.0.3
-Release:      20080630
+Release:      20080719
 
 #   package options
 %option       with_iconv  no