Remove daemon if one is present
This commit is contained in:
parent
190d60d448
commit
82dabcaf05
|
@ -484,6 +484,12 @@ fi
|
|||
echo " nginx_dissite \$${app_name_upper}_DOMAIN_NAME"
|
||||
echo " remove_certs \$${app_name_upper}_DOMAIN_NAME"
|
||||
echo ''
|
||||
echo " if [ -f /etc/systemd/system/${app_name}.service ]; then"
|
||||
echo " systemctl stop ${app_name}"
|
||||
echo " systemctl disable ${app_name}"
|
||||
echo " rm /etc/systemd/system/${app_name}.service"
|
||||
echo ' fi'
|
||||
echo ''
|
||||
echo " if [ -d /var/www/\$${app_name_upper}_DOMAIN_NAME ]; then"
|
||||
echo " rm -rf /var/www/\$${app_name_upper}_DOMAIN_NAME"
|
||||
echo ' fi'
|
||||
|
|
Loading…
Reference in New Issue