HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: //usr/share/debhelper/autoscripts/postinst-systemd-user-dont-enable
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -z "${DPKG_ROOT:-}" ]; then
		if deb-systemd-helper --user debian-installed #UNITFILE# ; then
			# This will only remove masks created by d-s-h on package removal.
			deb-systemd-helper --user unmask #UNITFILE# >/dev/null || true

			if deb-systemd-helper --quiet --user was-enabled #UNITFILE# ; then
				# Create new symlinks, if any.
				deb-systemd-helper --user enable #UNITFILE# >/dev/null || true
			fi
		fi

		# Update the statefile to add new symlinks (if any), which need to be cleaned
		# up on purge. Also remove old symlinks.
		deb-systemd-helper --user update-state #UNITFILE# >/dev/null || true
	fi
fi