Commit Graph

26 Commits

Author SHA1 Message Date
Shadowghost 6292e0127d Remove restart.sh from packaging 2023-01-19 10:32:11 +01:00
AJ Jordan c9f3c7b11a Backport pull request #8321 from jellyfin/release-10.8.z
Fix systemd not breaking whitespace in env vars

Original-merge: 125ee88311

Merged-by: Joshua M. Boniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:37 -04:00
Joshua M. Boniface 669855e686 Merge pull request #7887 from joshuaboniface/fix-restart.sh
(cherry picked from commit 294ab0757e)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:14 -04:00
Joshua M. Boniface 1d7a524d82 Add SuccessExitStatus for exit 143
Fixes #3182
2022-03-15 20:27:38 -04:00
Cody Robibero cecfdeeec3
Merge branch 'master' into unharden-for-lxc 2021-12-24 02:01:06 +00:00
nlog 92448ffabd
Remove ProtectClock for hardware encoding 2021-12-18 13:00:51 +09:00
Joshua M. Boniface fcf5b9b46e Unify and standardize unit files between deb/rpm
Ensures that the RPM service unit has all the tweaks from the Deb
service unit, and some in the other direction too.
2021-12-12 17:01:35 -05:00
Joshua M. Boniface 9a2b88cb1f Revert some hardening that breaks LXC
For each of these, we should be OK since we run as an unprivileged user
anyways.
2021-12-12 16:57:35 -05:00
matthiasdv 3176a4ddd9 add more hardening to systemd service 2021-12-06 22:40:00 +01:00
Julien Voisin 564990964d
Add a bit of hardening to the systemd service
Tested in an unprivileged lxc container, so it shouldn't™ break anything.
2021-11-04 16:15:42 +01:00
Joshua M. Boniface 72d3f7020a
Merge branch 'master' into patch-2 2021-08-18 02:46:59 -04:00
Mason Tran 415b03d719
Delay starting services until after network is online 2021-03-24 02:35:44 -04:00
Cromefire_ 7aef0fce44
Use consistent style 2020-11-24 12:24:42 +01:00
Cromefire_ c0a8118c51
Added additional opts to service file 2020-08-28 21:19:42 +02:00
Joshua M. Boniface 8c9604afba Add Web integration option in default service conf 2020-04-29 16:06:42 -04:00
Joshua M. Boniface 8b620ed26a Move Debian folder to root of repo 2020-03-22 16:01:33 -04:00
Erwin de Haan 399a079dd4 Build scripts and build system consolidation.
Squashed commit.
2019-01-10 19:45:30 +01:00
Joshua Boniface 177c4835a5 Add updated configurations for log and config dir
1. Add log and config flags to init and config
2. Move the existing logs and config dirs to the right places
3. Some cleanups in the control scripts
4. Prune the changelog of pre-Jellyfin entries
2019-01-05 22:31:22 -05:00
Joshua Boniface 34f226d83a Tweak unit to restart on any failure, 15s timeout 2018-12-28 10:27:27 -05:00
Joshua M. Boniface a73d255f51 Enable self-contained binary mode (#160)
* Build self-contained Debian linux-x64 binary

* Update initscripts to use self-contained binary

The binary is declared in the units intentionally rather than using
the variable extrapolation from before, to avoid confusion since
these can't really be moved reasonably.

* With combined binary name, use pgrep instead

* Remove dotnet-runtime dependency

* Move the compiled scb to usr/bin

* Update binary location for upstart/systemd

* Move binary path; fix pidfile handling

* Entirely remove the temporary usr/ dir

* Don't move the compiled binary

* Create /usr/bin symlink

* Use the variable here

* Update architecture to any

* Add libcurl4-openssl build dependency

* Update the build Dockerfile to install builddeps
2018-12-14 21:21:48 -05:00
Joshua Boniface 18ef4a4684 Major rejigger of init configurations 2018-12-12 19:14:20 -05:00
Joshua Boniface 5090eeb215 Update services to work with dotnet 2018-12-09 19:05:39 -05:00
Joshua Boniface a9a798f81a Rename numerous debian control elements
Replace the name emby/emby-server with jellyfin everywhere.
2018-12-09 19:05:33 -05:00
Joshua M. Boniface 3557b90f10 Revert "Debian packaging improvements" 2018-12-09 18:45:08 -05:00
Joshua Boniface c591b6d751 Update services to work with dotnet 2018-12-09 17:42:13 -05:00
Joshua Boniface 8fcec19936 Rename numerous debian control elements
Replace the name emby/emby-server with jellyfin everywhere.
2018-12-09 16:51:38 -05:00