Ensure removing .migrate is run as root
This commit is contained in:
parent
d23d97f9dd
commit
8237c6270c
2
init
2
init
@ -64,7 +64,7 @@ if [ "${role}" = "app" -a -e artisan ]; then
|
|||||||
|
|
||||||
if [ -r .migrate ]; then
|
if [ -r .migrate ]; then
|
||||||
echo "* Running migration..."
|
echo "* Running migration..."
|
||||||
su www-data -s /bin/sh -c "php artisan migrate && rm -f .migrate"
|
su www-data -s /bin/sh -c "php artisan migrate" && rm -f .migrate
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "* Caching configuration..."
|
echo "* Caching configuration..."
|
||||||
|
Loading…
Reference in New Issue
Block a user