Create data and log directory in OS X installer

This commit is contained in:
mpilman 2019-02-07 16:43:13 -08:00 committed by Alex Miller
parent 03ddd3d1dd
commit 42341447b0
1 changed files with 3 additions and 0 deletions

View File

@ -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