Files
yaws/lsb.patch
Alex Simonov 8e901b5f47 Accepting request 45553 from home:ghaskins:erlang
Copy from home:ghaskins:erlang/yaws via accept of submit request 45553 revision 5.
Request was accepted with message:
reviewed ok.

OBS-URL: https://build.opensuse.org/request/show/45553
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/yaws?expand=0&rev=15
2010-08-13 14:04:11 +00:00

35 lines
943 B
Diff

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