⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
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.preinst
### Copyright 1999-2025. WebPros International GmbH. All rights reserved. [ -z "$PLESK_INSTALLER_DEBUG" ] || set -x [ -z "$PLESK_INSTALLER_STRICT_MODE" ] || set -e create_nginx_user_group() { /usr/sbin/groupadd -r nginx 2>/dev/null || : /usr/sbin/useradd -c "Nginx user" -s /bin/false -g nginx -r -d /var/lib/nginx nginx 2>/dev/null || : } drop_obsolete_passenger_configs() { rm -f /etc/nginx/conf.d/passenger.conf rm -f /etc/nginx/modules.conf.d/passenger.conf } try_purge_sysvinit() { [ -f /etc/init.d/nginx ] || return 0 ! [ -x /usr/sbin/update-rc.d ] || /usr/sbin/update-rc.d -f nginx remove rm -f /etc/init.d/nginx } case "$1" in install) create_nginx_user_group ;; upgrade|abort-upgrade) drop_obsolete_passenger_configs # Apparently not needed on newer systems, so no need to extend the list try_purge_sysvinit ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0 # vim:ft=sh: