fix: don't run duplicates

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

View file

@ -10,6 +10,7 @@ pid=/run/access_logd.pid
case $1 in case $1 in
start) start)
pgrep /usr/bin/access_log && 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