fix: don't trust the pidfile

This commit is contained in:
f 2024-12-04 12:45:17 -03:00
parent d2d9351503
commit 40f293d583
No known key found for this signature in database

View file

@ -10,7 +10,6 @@ pid=/run/access_logd.pid
case $1 in case $1 in
start) start)
test -f $pid && exit 0
# Copy default database # Copy default database
install -m 640 -o nobody /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