diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-03-06 08:52:07 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-03-06 08:52:24 +0000 |
commit | f70b25851e1c47f8023a49ddefe996ae6beb6855 (patch) | |
tree | 090348c791800df30504b801d9d2a1db4ea3ec50 /main/kamailio/kamailio.initd | |
parent | 43013cbe3ab50707ce184d7fea90034da61b0d15 (diff) | |
download | aports-f70b25851e1c47f8023a49ddefe996ae6beb6855.tar.bz2 aports-f70b25851e1c47f8023a49ddefe996ae6beb6855.tar.xz |
main/kamailio: make sure /var/run/kamailio exists before starting up
Diffstat (limited to 'main/kamailio/kamailio.initd')
-rw-r--r-- | main/kamailio/kamailio.initd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/kamailio/kamailio.initd b/main/kamailio/kamailio.initd index a99992edf9..3d10fe5ab8 100644 --- a/main/kamailio/kamailio.initd +++ b/main/kamailio/kamailio.initd @@ -12,6 +12,7 @@ depend() { start() { ebegin "Starting Kamailio" + checkpath -d -o kamailio:kamailio /var/run/kamailio start-stop-daemon --start --quiet --pidfile $pidfile --exec $daemon \ -- \ -u ${KAMAILIO_USER:-kamailio} \ |