You didn't solve the original problem, but created more problems in one go. The init.d script really should fail if there's incorrect configuration, but this fix:
a) ignores the failure of missing /var/www (by returning
b) stops php5-fpm from running even if there is a correct configuration, but /var/www is missing
And thanks for fixing that only in Ubuntu, that's always helpful.
I'm here with David...
You didn't solve the original problem, but created more problems in one go. The init.d script really should fail if there's incorrect configuration, but this fix:
a) ignores the failure of missing /var/www (by returning
b) stops php5-fpm from running even if there is a correct configuration, but /var/www is missing
And thanks for fixing that only in Ubuntu, that's always helpful.