fix: don't run duplicates
This commit is contained in:
parent
40f293d583
commit
e166617164
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue