{ "scripts": { "dokku": { "postdeploy": "su -l -s /bin/sh www-data -c /app/postdeploy.sh" } } }