Do not use not available argument when invoking alprd

This commit is contained in:
Emmanuel Papin
2014-12-15 00:31:34 +01:00
parent 5a8d70bb4e
commit 9beb001d3a
2 changed files with 2 additions and 7 deletions

View File

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

View File

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