ghost: replace gosu with su-exec

This commit is contained in:
Wonderfall
2016-05-06 23:31:37 +02:00
parent fcc2cde895
commit b53ed57ee6
2 changed files with 5 additions and 6 deletions

View File

@ -55,4 +55,4 @@ if [ "$SYNTAX_HIGHLIGHTING" == "True" ] && [ ! -f /ghost/content/themes/casper/a
fi
chown -R $UID:$GID /ghost && cd /ghost
gosu $UID:$GID npm start --production
su-exec $UID:$GID npm start --production