[oe-commits] Wenzong Fan : postfix: add LSB init infos

git at git.openembedded.org git at git.openembedded.org
Thu Apr 16 04:13:16 UTC 2015


Module: meta-openembedded.git
Branch: master
Commit: 415a90c67f296f8816acd4d933298b101f8e830c
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=415a90c67f296f8816acd4d933298b101f8e830c

Author: Wenzong Fan <wenzong.fan at windriver.com>
Date:   Mon Mar 30 16:51:36 2015 +0800

postfix: add LSB init infos

Keep compatibility with chkconfig tool.

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>

---

 meta-networking/recipes-daemons/postfix/files/postfix | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-networking/recipes-daemons/postfix/files/postfix b/meta-networking/recipes-daemons/postfix/files/postfix
index 7bcc816..0ea67ef 100755
--- a/meta-networking/recipes-daemons/postfix/files/postfix
+++ b/meta-networking/recipes-daemons/postfix/files/postfix
@@ -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"



More information about the Openembedded-commits mailing list