restarting nginx with sudo service nginx restart is ok. but reload it using service nginx reload to get this error on Ubuntu 16.04:
sudo service nginx restart
service nginx reload
reload: The name "com.ubuntu.Upstart" does not exist
Ubuntu 16.04 has poor error handling for this case. Error
Name "com.ubuntu.Upstart" does not exist
usually means "Access denied." Are you sure you have sudo ?
sudo
Source: https://habr.com/ru/post/1266754/More articles:Xamarin.Forms, how to find a compatible version of the Android support library with my current Xamarin.Forms - xamarinUser authentication still in angularfire2 - angularXib files in Xcode 8.2 do not work properly. This is mistake? - xcodeWhere is django authentication function return value stored? - pythonAutoLayout restriction issues in iOS 10, Xcode 8 - ios10Limit for local notifications (UNNotificationRequest) in iOS 10 - iosEquivalence of DependencyProperty equivalence equivalence in UWP - wpfAre there 64 more local notification limits for new custom notifications in iOS 10? - iosHow to paginate Angular2 with the Django Rest Framework API - pythonHow to adjust colors in maven 3.5 console output - mavenAll Articles