Mailinglist Archive: opensuse-bugs (10803 mails)
| < Previous | Next > |
[Bug 546977] /etc/init.d/rsyncd restart only stops the service when client connected
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 26 Oct 2009 09:27:39 -0600
- Message-id: <20091026152739.EBA3CCC7D1@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=546977
User mt@xxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=546977#c3
--- Comment #3 from Marius Tomaschewski <mt@xxxxxxxxxx> 2009-10-26 09:27:37
MDT ---
The workaround bellow seems to work, but I didn't tested it much.
--- rsyncd.old 2009-10-26 16:25:28.000000000 +0100
+++ rsyncd 2009-10-26 16:25:16.000000000 +0100
@@ -65,7 +65,7 @@
# NOTE: startproc return 0, even if service is
# already running to match LSB spec.
- startproc -p $RSYNCD_PID -t 1 $RSYNCD_BIN --daemon
+ checkproc -p $RSYNCD_PID $RSYNCD_BIN || $RSYNCD_BIN --daemon
# Remember status and be verbose
rc_status -v
@@ -75,7 +75,7 @@
## Stop daemon with killproc(8) and if this fails
## set echo the echo return value.
- killproc -p $RSYNCD_PID -TERM $RSYNCD_BIN
+ killproc -p $RSYNCD_PID $RSYNCD_BIN
# Remember status and be verbose
rc_status -v
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User mt@xxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=546977#c3
--- Comment #3 from Marius Tomaschewski <mt@xxxxxxxxxx> 2009-10-26 09:27:37
MDT ---
The workaround bellow seems to work, but I didn't tested it much.
--- rsyncd.old 2009-10-26 16:25:28.000000000 +0100
+++ rsyncd 2009-10-26 16:25:16.000000000 +0100
@@ -65,7 +65,7 @@
# NOTE: startproc return 0, even if service is
# already running to match LSB spec.
- startproc -p $RSYNCD_PID -t 1 $RSYNCD_BIN --daemon
+ checkproc -p $RSYNCD_PID $RSYNCD_BIN || $RSYNCD_BIN --daemon
# Remember status and be verbose
rc_status -v
@@ -75,7 +75,7 @@
## Stop daemon with killproc(8) and if this fails
## set echo the echo return value.
- killproc -p $RSYNCD_PID -TERM $RSYNCD_BIN
+ killproc -p $RSYNCD_PID $RSYNCD_BIN
# Remember status and be verbose
rc_status -v
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |