Kaynağa Gözat

some options are global ones

Ralf S. Engelschall 18 yıl önce
ebeveyn
işleme
d815b3141e
2 değiştirilmiş dosya ile 4 ekleme ve 3 silme
  1. 1 1
      monotone/monotone.spec
  2. 3 2
      monotone/rc.monotone

+ 1 - 1
monotone/monotone.spec

@@ -33,7 +33,7 @@ Class:        EVAL
 Group:        SCM
 License:      GPL
 Version:      0.36
-Release:      20070911
+Release:      20070912
 
 #   package options
 %option       with_rse  yes

+ 3 - 2
monotone/rc.monotone

@@ -36,12 +36,13 @@
     rcService monotone enable yes || exit 0
     rcService monotone active yes && exit 0
     if rcVarIsYes monotone_daemon; then
-        ( nohup @l_prefix@/bin/mtn serve \
-            --bind="$monotone_daemon_host:$monotone_daemon_port" \
+        ( nohup @l_prefix@/bin/mtn \
             --confdir="$monotone_daemon_etcdir" \
             --keydir="$monotone_daemon_etcdir/keys" \
             --log="$monotone_daemon_logfile" \
             --db="$monotone_daemon_dbfile" \
+            serve \
+            --bind="$monotone_daemon_host:$monotone_daemon_port" \
             --pid-file="$monotone_daemon_pidfile" &
         ) >/dev/null 2>&1
     fi