fix ownership issue of source, restart server when deployed