Files
yaws/lsb.patch

35 lines
943 B
Diff
Raw Permalink Normal View History

Add proper LSB header to the suse init.d script
From: Gregory Haskins <ghaskins@novell.com>
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---
scripts/suse/yaws.init.d | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/scripts/suse/yaws.init.d b/scripts/suse/yaws.init.d
index f0605d3..be98000 100644
--- a/scripts/suse/yaws.init.d
+++ b/scripts/suse/yaws.init.d
@@ -1,5 +1,17 @@
#! /bin/sh
-
+### BEGIN INIT INFO
+# Provides: yaws
+# Required-Start: $network $remote_fs
+# Should-Start: $null
+# Required-Stop: $network $remote_fs
+# Should-Stop: $null
+# Default-Start: 3 5
+# Default-Stop: 0 1 2 6
+# Short-Description: A high performance HTTP 1.1 webserver
+# Description: Yaws is a HTTP high perfomance 1.1 webserver
+# particularly well suited for dynamic-content
+# webapplications.
+### END INIT INFO
YAWS_BIN=%prefix%bin/yaws