fix: install database as nobody

This commit is contained in:
f 2023-02-04 17:38:55 -03:00
parent 65b884b9fe
commit 3ff1137b21

View file

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