SOURCES: prelude-manager.init, prelude-manager.sysconfig, prelude-...
arekm
arekm at pld-linux.org
Fri Jan 5 19:02:57 CET 2007
Author: arekm Date: Fri Jan 5 18:02:57 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- update by Tomasz Rutkowski
---- Files affected:
SOURCES:
prelude-manager.init (1.4 -> 1.5) , prelude-manager.sysconfig (1.1 -> 1.2) , prelude-lml.init (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/prelude-manager.init
diff -u SOURCES/prelude-manager.init:1.4 SOURCES/prelude-manager.init:1.5
--- SOURCES/prelude-manager.init:1.4 Thu Dec 8 02:02:49 2005
+++ SOURCES/prelude-manager.init Fri Jan 5 19:02:52 2007
@@ -7,6 +7,17 @@
# Source function library.
. /etc/rc.d/init.d/functions
+# Get service config
+if [ -f /etc/sysconfig/prelude-manager ]; then
+ . /etc/sysconfig/prelude-manager
+else
+ nls "Error: %s not found" /etc/sysconfig/prelude-manager
+ nls " Prelude Manager can't be run."
+ exit 1
+fi
+
+
+
case "$1" in
start)
if [ ! -f /var/lock/subsys/prelude-manager ]; then
@@ -49,7 +60,7 @@
;;
*)
- echo $"Usage: $0 {start|stop|restart|condrestart|status}"
+ echo $"Usage: $0 {start|stop|reload|force-reload|status}"
exit 1
esac
================================================================
Index: SOURCES/prelude-manager.sysconfig
diff -u SOURCES/prelude-manager.sysconfig:1.1 SOURCES/prelude-manager.sysconfig:1.2
--- SOURCES/prelude-manager.sysconfig:1.1 Sun Jul 10 21:51:51 2005
+++ SOURCES/prelude-manager.sysconfig Fri Jan 5 19:02:52 2007
@@ -0,0 +1,5 @@
+# Prelude Manager startup configuration file
+
+# Try to define nice-level for running Prelude Manager
+SERVICE_RUN_NICE_LEVEL="+5"
+
================================================================
Index: SOURCES/prelude-lml.init
diff -u SOURCES/prelude-lml.init:1.5 SOURCES/prelude-lml.init:1.6
--- SOURCES/prelude-lml.init:1.5 Fri Jan 5 19:00:14 2007
+++ SOURCES/prelude-lml.init Fri Jan 5 19:02:52 2007
@@ -21,7 +21,7 @@
start)
if [ ! -f /var/lock/subsys/prelude-lml ]; then
msg_starting "Prelude LML"
- daemon $SERVICE_RUN_NICE_LEVEL prelude-lml -d
+ daemon prelude-lml -d
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/prelude-lml
else
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/prelude-manager.init?r1=1.4&r2=1.5&f=u
http://cvs.pld-linux.org/SOURCES/prelude-manager.sysconfig?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/SOURCES/prelude-lml.init?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list