![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh # postrm script for mosquitto # # see: dh_installdeb(1) set -e case "$1" in purge) rm -f /var/lib/mosquitto/mosquitto.db if [ -d /var/lib/mosquitto ]; then rmdir --ignore-fail-on-non-empty /var/lib/mosquitto fi rm -f /var/log/mosquitto/mosquitto.log* if [ -d /var/log/mosquitto ]; then rmdir --ignore-fail-on-non-empty /var/log/mosquitto fi APP_PROFILE="usr.sbin.mosquitto" rm -f /etc/apparmor.d/disable/$APP_PROFILE >/dev/null 2>&1 || true ;; remove|abort-install|abort-upgrade|disappear) ;; upgrade|failed-upgrade) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # Automatically added by dh_installinit/12.9ubuntu1 if [ "$1" = "purge" ] ; then update-rc.d mosquitto remove >/dev/null fi # End automatically added section # Automatically added by dh_installsystemd/12.9ubuntu1 if [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/12.9ubuntu1 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'mosquitto.service' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'mosquitto.service' >/dev/null || true deb-systemd-helper unmask 'mosquitto.service' >/dev/null || true fi fi # End automatically added section exit 0