We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5192c3e commit e277006Copy full SHA for e277006
0x12-web_stack_debugging_2/100-fix_in_7_lines_or_less
@@ -4,4 +4,4 @@ chmod 644 /etc/nginx/nginx.conf
4
sed -i "s/#user www-data/user nginx/" /etc/nginx/nginx.conf
5
sed -i "s/80/8080/g" /etc/nginx/sites-available/default
6
pkill apache2
7
-sudo -u nginx -s /bin/bash -c service nginx start
+sudo -u nginx service nginx start
0 commit comments