mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-23 11:26:16 +00:00
rhel startup options
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user