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