add uninstaller

This commit is contained in:
ducoterra
2018-09-16 22:36:44 -04:00
parent 4e96fac5c6
commit 7e0f9f7d3c
2 changed files with 27 additions and 1 deletions

View File

@@ -296,4 +296,4 @@ if [ ! $user = "nginx" ] ; then
sed -i "s/user nginx/user $user nginx/" /etc/nginx/nginx.conf
fi
```
Which inserts the specified user (if not nginx) into nginx.conf.
Which inserts the specified user (if not nginx) into nginx.conf. The script finishes by enabling gunicorn and nginx at startup.