|
From: <abe...@us...> - 2017-07-12 16:54:52
|
Revision: 8436
http://sourceforge.net/p/astlinux/code/8436
Author: abelbeck
Date: 2017-07-12 16:54:49 +0000 (Wed, 12 Jul 2017)
Log Message:
-----------
prosody, init.d script tweak to allow a pre-existing /mnt/kd/prosody/certs to still create /mnt/kd/prosody/data if missing
Modified Paths:
--------------
branches/1.0/package/prosody/prosody.init
Modified: branches/1.0/package/prosody/prosody.init
===================================================================
--- branches/1.0/package/prosody/prosody.init 2017-07-12 14:42:51 UTC (rev 8435)
+++ branches/1.0/package/prosody/prosody.init 2017-07-12 16:54:49 UTC (rev 8436)
@@ -196,10 +196,9 @@
exit
fi
- if [ ! -d /mnt/kd/prosody ]; then
- mkdir /mnt/kd/prosody
- mkdir /mnt/kd/prosody/data
- mkdir /mnt/kd/prosody/certs
+ if [ ! -d /mnt/kd/prosody/data ]; then
+ mkdir -p /mnt/kd/prosody/data
+ mkdir -p /mnt/kd/prosody/certs
find /mnt/kd/prosody -print0 | xargs -0 chown prosody:prosody
chmod 750 /mnt/kd/prosody/data
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|