Correct systemd dynamic directory

Fixes #8921
This commit is contained in:
Joshua M. Boniface 2022-12-19 09:31:53 -05:00
parent 471ebec16a
commit e13cfe095f
1 changed files with 1 additions and 1 deletions

2
debian/postinst vendored
View File

@ -83,7 +83,7 @@ fi
# End automatically added section
# Automatically added by dh_installinit
if [[ "$1" == "configure" ]] || [[ "$1" == "abort-upgrade" ]]; then
if [[ -d "/run/systemd/systemd" ]]; then
if [[ -d "/run/systemd/system" ]]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke start jellyfin >/dev/null || true
elif [[ -x "/etc/init.d/jellyfin" ]] || [[ -e "/etc/init/jellyfin.conf" ]]; then