]> git.pld-linux.org Git - packages/gnustep-base.git/commitdiff
- source and use sysconfig file
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 30 Jan 2006 23:29:32 +0000 (23:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnustep-base.init -> 1.3
    gnustep-base.sysconfig -> 1.1

gnustep-base.init
gnustep-base.sysconfig [new file with mode: 0644]

index 4e839f14dcf29ad9e8b39bb1e2e12e3259cd5f1a..8298bb57aef4ece6822f65c65829ab4123dfee9d 100644 (file)
@@ -9,11 +9,14 @@
 # Source function library.
 . /etc/rc.d/init.d/functions
 
+# Get service config
+[ -f /etc/sysconfig/gnustep ] && . /etc/sysconfig/gnustep
+
 case "$1" in
   start)
        if [ ! -f /var/lock/subsys/gnustep ]; then
                msg_starting "gnustep services"
-               daemon @TOOLSARCHDIR@/gdomap
+               daemon @TOOLSARCHDIR@/gdomap $GDOMAP_OPTIONS
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/gnustep
        else
diff --git a/gnustep-base.sysconfig b/gnustep-base.sysconfig
new file mode 100644 (file)
index 0000000..a5d735b
--- /dev/null
@@ -0,0 +1,8 @@
+# Set nice level for gdomap
+SERVICE_RUN_NICE_LEVEL="+0"
+
+# command line options for gdomap
+#GDOMAP_OPTIONS="-a /etc/gdomapip.conf"
+GDOMAP_OPTIONS=""
+
+# vi: filetype=sh
This page took 0.160676 seconds and 4 git commands to generate.