web dependent
This commit is contained in:
parent
3942cd7c4d
commit
85cbecbc45
|
@ -579,9 +579,11 @@ echo ' fi'
|
||||||
echo '}'
|
echo '}'
|
||||||
echo ''
|
echo ''
|
||||||
echo "function remove_${app_name} {"
|
echo "function remove_${app_name} {"
|
||||||
|
if [ $app_webui ]; then
|
||||||
echo " nginx_dissite \"\$${app_name_upper}_DOMAIN_NAME\""
|
echo " nginx_dissite \"\$${app_name_upper}_DOMAIN_NAME\""
|
||||||
echo " remove_certs \"\$${app_name_upper}_DOMAIN_NAME\""
|
echo " remove_certs \"\$${app_name_upper}_DOMAIN_NAME\""
|
||||||
echo ''
|
echo ''
|
||||||
|
fi
|
||||||
if [ $app_daemon ]; then
|
if [ $app_daemon ]; then
|
||||||
echo " if [ -f /etc/systemd/system/${app_name}.service ]; then"
|
echo " if [ -f /etc/systemd/system/${app_name}.service ]; then"
|
||||||
echo " systemctl stop ${app_name}"
|
echo " systemctl stop ${app_name}"
|
||||||
|
|
Loading…
Reference in New Issue