|
|
@@ -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
|