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

git at git.openembedded.org git at git.openembedded.org
Mon Apr 13 11:10:15 UTC 2015


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

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>

---

 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