mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 19:22:49 +08:00
Do not use not available argument when invoking alprd
This commit is contained in:
@@ -18,5 +18,5 @@ START_DAEMON="yes"
|
|||||||
#GROUP="www-data"
|
#GROUP="www-data"
|
||||||
|
|
||||||
# Additional options that are passed to the daemon
|
# Additional options that are passed to the daemon
|
||||||
#DAEMON_OPTS="-n 20"
|
#DAEMON_OPTS=
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
# Description: OpenALPR daemon detects license plate in the background
|
# Description: OpenALPR daemon detects license plate in the background
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
# Author: lokidor <lokidor@lokiworld.net>
|
# Author: Emmanuel Papin <manupap01@gmail.com>
|
||||||
|
|
||||||
unset USER
|
unset USER
|
||||||
|
|
||||||
@@ -48,11 +48,6 @@ if [ -z $LOGFILE ]; then
|
|||||||
LOGFILE=/var/log/alpr.log
|
LOGFILE=/var/log/alpr.log
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set the default daemon options
|
|
||||||
if [ -z $DAEMON_OPTS ]; then
|
|
||||||
DAEMON_OPTS="-n 20"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Run as `www-data' if USER is not specified or is `root'
|
# Run as `www-data' if USER is not specified or is `root'
|
||||||
if [ -z $USER ]; then
|
if [ -z $USER ]; then
|
||||||
USER=www-data
|
USER=www-data
|
||||||
|
Reference in New Issue
Block a user