Skip to contentSkip to conversation

vsftpd / init: add LSB init infos

PATCH New [email protected] 1 participant 2 messages Mar 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 vsftpd / init: add LSB init infos

From: Wenzong Fan <[email protected]>

Keep compatibility with chkconfig tool.

---
 meta-networking/recipes-daemons/vsftpd/files/init | 9 +++++++++
 1 file changed, 9 insertions(+)
meta-networking/recipes-daemons/vsftpd/files/init +9 -0
index d0ec010..72adf0d 100755
@@ -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
#1 lore raw

PATCH 2/2 postfix: add LSB init infos

From: Wenzong Fan <[email protected]>

Keep compatibility with chkconfig tool.

---
 meta-networking/recipes-daemons/postfix/files/postfix | 8 ++++++++
 1 file changed, 8 insertions(+)
meta-networking/recipes-daemons/postfix/files/postfix +8 -0
index 7bcc816..0ea67ef 100755
@@ -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