浏览代码

Correct systemd dynamic directory

Fixes #8921
Joshua M. Boniface 2 年之前
父节点
当前提交
e13cfe095f
共有 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