rhel startup options

This commit is contained in:
Jan-Piet Mens
2015-09-10 13:30:58 +02:00
parent 6d341d68a0
commit edc6540b7f
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ start() {
return 0
fi
printf "%-50s%s" "Starting $prog: " ''
$exec $OTR_TOPICS &
$exec $OTR_OPTS $OTR_TOPICS &
# save pid to file if you want
echo $! > $pidfile
+2
View File
@@ -7,3 +7,5 @@ export OTR_PORT="1883"
# export OTR_CAFILE="/path/to/tls/CA.crt"
export OTR_STORAGEDIR="/var/spool/owntracks/store"
export OTR_TOPICS='owntracks/#'
export OTR_OPTS="--http-host 127.0.0.1 --http-port 8083 --doc-root /var/spool/owntracks/docroot"