don't remove project dir
This commit is contained in:
8
reset.sh
8
reset.sh
@@ -21,10 +21,4 @@ echo "Uninstalling gunicorn"
|
|||||||
tput setaf 9
|
tput setaf 9
|
||||||
systemctl disable gunicorn 1> /dev/null 2> /dev/null
|
systemctl disable gunicorn 1> /dev/null 2> /dev/null
|
||||||
systemctl stop gunicorn 1> /dev/null 2> /dev/null
|
systemctl stop gunicorn 1> /dev/null 2> /dev/null
|
||||||
rm -f /etc/systemd/system/gunicorn.service
|
rm -f /etc/systemd/system/gunicorn.service
|
||||||
|
|
||||||
# remove project
|
|
||||||
tput setaf 2
|
|
||||||
echo "Removing Django project"
|
|
||||||
tput setaf 9
|
|
||||||
rm -rf /home/$user/$projectname
|
|
||||||
Reference in New Issue
Block a user