aboutsummaryrefslogtreecommitdiffstats
path: root/community/psad/psad.initd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-09-03 13:29:29 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-09-03 13:49:23 +0200
commit13976180140fc9eb0bf477c225f89ed0e210b4b9 (patch)
treef25c40bdd2b02cfd036857512010d0f6008154e4 /community/psad/psad.initd
parentfd47d9508abcaae68145950149f73bdc5161a18b (diff)
downloadaports-13976180140fc9eb0bf477c225f89ed0e210b4b9.tar.bz2
aports-13976180140fc9eb0bf477c225f89ed0e210b4b9.tar.xz
community/psad: improve abuild and fix rundir location
Diffstat (limited to 'community/psad/psad.initd')
-rw-r--r--community/psad/psad.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/psad/psad.initd b/community/psad/psad.initd
index f598ae05ed..d58b15daf7 100644
--- a/community/psad/psad.initd
+++ b/community/psad/psad.initd
@@ -4,7 +4,7 @@
# Adapted for Alpine Linux by Stuart Cardall <developer@it-offshore.co.uk>
command="/usr/sbin/psad"
-pidfile="/var/run/psad/psad.pid"
+pidfile="/run/psad/psad.pid"
config_file="/etc/psad/psad.conf"
depend() {
@@ -22,7 +22,7 @@ check_config() {
start_pre() {
check_config || return 1
- # make sure dir for pidfile exists. /var/run is tmpfs...
+ # make sure dir for pidfile exists. /run is tmpfs...
checkpath --directory ${pidfile%/*}
}