[packages/opensmtpd] use pidfile for status

glen glen at pld-linux.org
Fri May 16 08:21:18 CEST 2014


commit bf53c390254c436b1a8a404391f43330c957f5e4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri May 16 09:21:11 2014 +0300

    use pidfile for status

 opensmtpd.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/opensmtpd.init b/opensmtpd.init
index 1128b68..4ef1261 100755
--- a/opensmtpd.init
+++ b/opensmtpd.init
@@ -87,7 +87,7 @@ case "$1" in
 	condrestart 7
 	;;
   status)
-	status smtpd
+	status --pidfile $pidfile smtpd
 	RETVAL=$?
 	;;
   *)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opensmtpd.git/commitdiff/bf53c390254c436b1a8a404391f43330c957f5e4



More information about the pld-cvs-commit mailing list