✏️ 正在编辑: rsyslog.prerm
路径:
/var/lib/dpkg/info/rsyslog.prerm
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
#!/bin/sh set -e # Stop the socket on remove so rsyslog is not restarted via socket activation if [ -d /run/systemd/system ] && [ "$1" = remove ] ; then systemctl stop syslog.socket || true fi # Automatically added by dh_installinit/11.1.6ubuntu1 if [ -x "/etc/init.d/rsyslog" ] && [ "$1" = remove ]; then invoke-rc.d rsyslog stop || exit 1 fi # End automatically added section # Automatically added by dh_installdeb/11.1.6ubuntu1 dpkg-maintscript-helper rm_conffile /etc/init/rsyslog.conf 8.16.0-1ubuntu9\~ rsyslog -- "$@" # End automatically added section
💾 保存文件
← 返回文件管理器