fix: install database as nobody
This commit is contained in:
parent
65b884b9fe
commit
3ff1137b21
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ test -n "$ACCESS_LOGS_FLAGS" || exit 1
|
||||||
umask 007
|
umask 007
|
||||||
|
|
||||||
# Copy default database
|
# Copy default database
|
||||||
install -m 640 /var/lib/access_log.sqlite3 /var/log/access_log.sqlite3
|
install -m 640 -o nobody /var/lib/access_log.sqlite3 /var/log/access_log.sqlite3
|
||||||
|
|
||||||
# Read from fifo and load into database
|
# Read from fifo and load into database
|
||||||
daemonize -p /run/access_logd.pid -u nobody /usr/bin/access_log $ACCESS_LOGS_FLAGS
|
daemonize -p /run/access_logd.pid -u nobody /usr/bin/access_log $ACCESS_LOGS_FLAGS
|
||||||
|
|
Loading…
Reference in a new issue