mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #8924 from joshuaboniface/fix-postinst
Correct systemd dynamic directory
This commit is contained in:
commit
b80b50437c
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -83,7 +83,7 @@ fi
|
|||||||
# End automatically added section
|
# End automatically added section
|
||||||
# Automatically added by dh_installinit
|
# Automatically added by dh_installinit
|
||||||
if [[ "$1" == "configure" ]] || [[ "$1" == "abort-upgrade" ]]; then
|
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
|
systemctl --system daemon-reload >/dev/null || true
|
||||||
deb-systemd-invoke start jellyfin >/dev/null || true
|
deb-systemd-invoke start jellyfin >/dev/null || true
|
||||||
elif [[ -x "/etc/init.d/jellyfin" ]] || [[ -e "/etc/init/jellyfin.conf" ]]; then
|
elif [[ -x "/etc/init.d/jellyfin" ]] || [[ -e "/etc/init/jellyfin.conf" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user