OSDN Git Service

Doc fix: Nginx init script requires sudo
authorDanillo Nunes <git@danillonunes.net>
Sun, 7 Oct 2012 00:36:20 +0000 (21:36 -0300)
committerDanillo Nunes <git@danillonunes.net>
Sun, 7 Oct 2012 00:36:20 +0000 (21:36 -0300)
doc/installation.md

index ccbbd2e..fd8a8b9 100644 (file)
@@ -284,7 +284,7 @@ a different host, you can configure its connection string in the
     sudo vim /etc/nginx/sites-enabled/gitlab
 
     # Restart nginx:
-    /etc/init.d/nginx restart
+    sudo /etc/init.d/nginx restart
 
 ## 3. Init script