Create data and log directory in OS X installer
This commit is contained in:
parent
03ddd3d1dd
commit
42341447b0
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p -m 0700 $SERVERDIR/usr/local/foundationdb/data
|
||||
mkdir -p -m 0700 $SERVERDIR/usr/local/foundationdb/logs
|
||||
|
||||
if [ -f /Library/LaunchDaemons/com.foundationdb.fdbmonitor.plist ]; then
|
||||
/bin/launchctl unload /Library/LaunchDaemons/com.foundationdb.fdbmonitor.plist || :
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue