vsftpd / init: add LSB init infos
PATCH 1/2 vsftpd / init: add LSB init infos
From: Wenzong Fan <[email protected]>
Keep compatibility with chkconfig tool.
Signed-off-by Wenzong Fan <[email protected]>
--- meta-networking/recipes-daemons/vsftpd/files/init | 9 +++++++++ 1 file changed, 9 insertions(+)
meta-networking/recipes-daemons/vsftpd/files/init +9 -0
@@ -1,4 +1,13 @@ #!/bin/sh +### BEGIN INIT INFO +# Provides: vsftpd +# Default-Start: 2345 +# Default-Stop: 016 +# Short-Description: Very Secure Ftp Daemon +# Description: vsftpd is a Very Secure FTP daemon. It was written completely from +# scratch +### END INIT INFO + DAEMON=/usr/sbin/vsftpd NAME=vsftpd DESC="FTP Server"
Signature · 1 line
1.9.1
PATCH 2/2 postfix: add LSB init infos
From: Wenzong Fan <[email protected]>
Keep compatibility with chkconfig tool.
Signed-off-by Wenzong Fan <[email protected]>
--- meta-networking/recipes-daemons/postfix/files/postfix | 8 ++++++++ 1 file changed, 8 insertions(+)
meta-networking/recipes-daemons/postfix/files/postfix +8 -0
@@ -1,4 +1,12 @@ #!/bin/sh +### BEGIN INIT INFO +# Provides: postfix MTA +# Default-Start: 2345 +# Default-Stop: 016 +# Short-Description: start and stop postfix +# Description: Postfix is a Mail Transport Agent, which is the program +# that moves mail from one machine to another. +### END INIT INFO success() { echo " Successful"
Signature · 1 line
1.9.1