aboutsummaryrefslogtreecommitdiffstats
path: root/main/sircbot/sircbot.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-12 09:07:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-02-12 09:07:23 +0000
commit619c4e6fa62ea9be9a98a3f03ee3f6fdc9ccbe68 (patch)
tree312decd5fca0ffa4b9de8745e9fd6db4cc053899 /main/sircbot/sircbot.initd
parent0e1e087322b10ded282638c8d25a62a2c1ce18e3 (diff)
downloadaports-619c4e6fa62ea9be9a98a3f03ee3f6fdc9ccbe68.tar.bz2
aports-619c4e6fa62ea9be9a98a3f03ee3f6fdc9ccbe68.tar.xz
main/sircbot: set permissions on rundir
Diffstat (limited to 'main/sircbot/sircbot.initd')
-rw-r--r--main/sircbot/sircbot.initd1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/sircbot/sircbot.initd b/main/sircbot/sircbot.initd
index 045f7ee2aa..f52a30ce94 100644
--- a/main/sircbot/sircbot.initd
+++ b/main/sircbot/sircbot.initd
@@ -20,6 +20,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath --directory /var/run/sircbot --owner ${sircbot_user}
ebegin "Starting sircbot"
start-stop-daemon --start --user $sircbot_user --group $sircbot_group \
--umask 0002 --pidfile "$pidfile" \