aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2022-12-19 09:31:53 -0500
committerJoshua M. Boniface <joshua@boniface.me>2022-12-19 09:31:53 -0500
commite13cfe095ffaa588d3fb3a85efdbcd72592bf6ed (patch)
treea6ae186be6527f9ab6636bf884d9c8e253be1eed
parent471ebec16adfd37cb0b30896964c537c425feb76 (diff)
Correct systemd dynamic directory
Fixes #8921
-rw-r--r--debian/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst
index 2f9c4cffb..47173855f 100644
--- a/debian/postinst
+++ b/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