HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //var/lib/dpkg/info/monit.postrm
#!/bin/sh

set -e

case "$1" in
  upgrade|failed-upgrade|abort-install|abort-upgrade|remove|disappear)
    ;;
  purge)
    # Remove logfile:
    rm -f /var/log/monit.log
    # Remove the state and id files (default location):
    rm -f /var/lib/monit/state /var/lib/monit/id

    # Remove monit from /etc/aliases:
    if [ -f /etc/aliases ] || [ -L /etc/aliases ]
    then
      if grep -qi "^monit[[:space:]]*:" /etc/aliases
      then
        sed -i '/^monit[[:space:]]*:.*$/d' /etc/aliases
        test -x /usr/bin/newaliases && newaliases || :
      fi
    fi
    ;;
  *)
    echo "postrm called with unknown argument \`$1'" >&2
    exit 1
    ;;
esac

# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/snmpd /etc/monit/conf-available/snmpd "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/smartmontools /etc/monit/conf-available/smartmontools "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/rsyslog /etc/monit/conf-available/rsyslog "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/postfix /etc/monit/conf-available/postfix "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/pdns-recursor /etc/monit/conf-available/pdns-recursor "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/openssh-server /etc/monit/conf-available/openssh-server "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/openntpd /etc/monit/conf-available/openntpd "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/nginx /etc/monit/conf-available/nginx "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/mysql /etc/monit/conf-available/mysql "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/memcached /etc/monit/conf-available/memcached "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/mdadm /etc/monit/conf-available/mdadm "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/cron /etc/monit/conf-available/cron "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/at /etc/monit/conf-available/at "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/apache2 /etc/monit/conf-available/apache2 "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/monit/monitrc.d/acpid /etc/monit/conf-available/acpid "1:5.15-1~" -- "$@"
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
	update-rc.d monit remove >/dev/null
fi


# In case this system is running systemd, we make systemd reload the unit files
# to pick up changes.
if [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section


exit 0