diff --git a/distros/debian/openalpr-daemon.default b/distros/debian/openalpr-daemon.default index 555202b..58ae8c8 100644 --- a/distros/debian/openalpr-daemon.default +++ b/distros/debian/openalpr-daemon.default @@ -14,8 +14,8 @@ START_DAEMON="yes" #LOGFILE="/var/log/alpr.log" # User and group the daemon should run as -#USER="www-data" -#GROUP="www-data" +#USER="daemon" +#GROUP="daemon" # Additional options that are passed to the daemon #DAEMON_OPTS= diff --git a/distros/debian/openalpr-daemon.init b/distros/debian/openalpr-daemon.init index cc47983..9b5dff8 100644 --- a/distros/debian/openalpr-daemon.init +++ b/distros/debian/openalpr-daemon.init @@ -48,9 +48,9 @@ if [ -z $LOGFILE ]; then LOGFILE=/var/log/alpr.log fi -# Run as `www-data' if USER is not specified or is `root' +# Run as `daemon' if USER is not specified or is `root' if [ -z $USER ]; then - USER=www-data + USER=daemon fi # If no group is specified, use USER