Преглед изворни кода

Merge pull request #8924 from joshuaboniface/fix-postinst

Correct systemd dynamic directory
Joshua M. Boniface пре 2 година
родитељ
комит
b80b50437c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      debian/postinst

+ 1 - 1
debian/postinst

@@ -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