From e166617164f4796ab3e52c424d27471d74e2282b Mon Sep 17 00:00:00 2001 From: f Date: Wed, 4 Dec 2024 12:47:27 -0300 Subject: [PATCH] fix: don't run duplicates --- access_logd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/access_logd.sh b/access_logd.sh index 6173f71..c57d1d5 100755 --- a/access_logd.sh +++ b/access_logd.sh @@ -10,6 +10,7 @@ pid=/run/access_logd.pid case $1 in start) + pgrep /usr/bin/access_log && exit 0 # Copy default database install -m 640 -o nobody /var/lib/access_log.sqlite3 /var/log/access_log.sqlite3