aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2022-12-19 10:57:30 -0500
committerGitHub <noreply@github.com>2022-12-19 10:57:30 -0500
commitb80b50437c64d947361b465384f41e2cf25e220b (patch)
treec46940050ac7fe22b48b6d8e418135dd91812c7c
parent411246e90f19f652168878e0edc703fdc9ff32d9 (diff)
parente13cfe095ffaa588d3fb3a85efdbcd72592bf6ed (diff)
Merge pull request #8924 from joshuaboniface/fix-postinst
Correct systemd dynamic directory
-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