aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/ProgressiveFileStream.cs
diff options
context:
space:
mode:
authorAJ Jordan <alex@strugee.net>2020-12-04 16:08:49 -0800
committerAJ Jordan <alex@strugee.net>2020-12-04 16:33:24 -0800
commitbab389114b5833735d55d982ba1a2c17fd22e0d2 (patch)
treef2a2795109689f8c6cd425193b76fafd550098a0 /Jellyfin.Api/Helpers/ProgressiveFileStream.cs
parentd251c701b940fc1d7d1f29799785d4bc290b8ce6 (diff)
Use a service unit, not a scope unit, to restart
Reportedly `systemd-run --scope` still got killed by the service manager; see #4615. The suspected cause is that `scope` units are run by the `systemd-run` process itself and inherit the caller's execution environment (see systemd-run(1)). To fix this, we use a systemd `service` unit instead, which is run and managed by PID 1 - hopefully this will isolate us sufficiently so that we don't get terminated along with `jellyfin.service`.
Diffstat (limited to 'Jellyfin.Api/Helpers/ProgressiveFileStream.cs')
0 files changed, 0 insertions, 0 deletions