View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/local/portage/dev-util/monotone/files/monotone-0.33.initd (+5 lines)
 Lines 18-23    Link Here 
	--rcfile=${MTN_CONFDIR}/hooks.lua --log=/var/log/monotone/monotone.log"
	--rcfile=${MTN_CONFDIR}/hooks.lua --log=/var/log/monotone/monotone.log"
	#--dump=$ERRORLOG
	#--dump=$ERRORLOG
MTN_PIDFILE="/var/run/monotone/monotone.pid"
MTN_PIDFILE="/var/run/monotone/monotone.pid"
MTN_HOME=`awk -F: -vuid=$MTN_USER -vuser=$MTN_USER '$3 == uid || $1 == user { print $6 }' </etc/passwd`
dbexists() {
dbexists() {
	# Create the database if it doesn't exist
	# Create the database if it doesn't exist
 Lines 54-59    Link Here 
}
}
start() {
start() {
	cd $MTN_HOME
	dbexists
	dbexists
	ebegin "Starting monotone server"
	ebegin "Starting monotone server"
 Lines 71-76    Link Here 
}
}
import() {
import() {
	cd $MTN_HOME
	dbexists
	dbexists
	# Read packets into the database
	# Read packets into the database