jellyfin/debian
AJ Jordan d251c701b9
Use systemd-run(1) in restart.sh
systemd-run(1) runs `systemctl restart` in an isolated systemd unit
that is not subject to process termination as jellyfin.service is shut
down. We adjust the sudoers configuration for this new usage, removing
the old config, since restart.sh is the only user of the sudoers
policy.

Additionally we change `systemctl start` to `systemctl restart` since
there was a race condition where jellyfin.service was not fully
stopped by the time this ran, so `systemctl start` became a noop.
`systemctl restart` on the other hand works whether jellyfin.service is
stopped or not.

The at(1) hack (and the usage of `start` instead of `restart`) is left
in for other init systems since I cannot test on those systems, and
because I don't know of any systemd-run(1) equivalent (although it may
be a non-issue since alternate init systems do not keep track of daemon
children nearly as aggressively as systemd does).
2020-12-04 16:18:26 -08:00
..
bin Use systemd-run(1) in restart.sh 2020-12-04 16:18:26 -08:00
conf Use systemd-run(1) in restart.sh 2020-12-04 16:18:26 -08:00
metapackage Bump master version to 10.7.0 for next release 2020-07-27 19:10:40 -04:00
po Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
source Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
changelog Bump master version to 10.7.0 for next release 2020-07-27 19:10:40 -04:00
compat Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
control Add sudo to package dependencies 2020-11-29 04:15:11 -05:00
copyright Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
gbp.conf Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
install Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
jellyfin.init Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
jellyfin.service Add Web integration option in default service conf 2020-04-29 16:06:42 -04:00
jellyfin.upstart Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
postinst Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
postrm Fix left /usr/bin/jellyfin symlink on removal and typo 2020-07-24 22:43:32 +02:00
preinst Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
prerm Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
rules Remove GenerateDocumentationFile 2020-09-04 07:04:06 -06:00
source.lintian-overrides Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00