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