-
-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
After upgrading jellyfin from the Debian repos on https://repo.jellyfin.org/debian yesterday, I found that the jellyfin servers weren't (re)started. I presume this is because the Debian scripts assume Systemd to be used.
/var/lib/dpkg/info/jellyfin-server.postinst: systemctl --system daemon-reload >/dev/null || true
/var/lib/dpkg/info/jellyfin-server.postrm: systemctl --system daemon-reload >/dev/null || true
/var/lib/dpkg/info/jellyfin-server.postrm: systemctl --system daemon-reload >/dev/null || true
/var/lib/dpkg/info/jellyfin-server.preinst: systemctl --system daemon-reload >/dev/null || true
Because output is redirected to /dev/null there is no indication of failure.
Correct solution would be to use service instead of a direct call to systemctl. The manpage states:
service runs a System V init script or systemd unit […]
Note: I've provided a SysV-rc script myself. Feel free to ask if interested for incorporation into the Debian package. I refrained from touching the scripts, because they'll be overwritten with the next update anyway.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels