Commit Graph

90 Commits

Author SHA1 Message Date
Tobias Krönke 8eee32c8c2
Respect configured JELLYFIN_USER in Debian's postinst
In my setup I configured a different user. But updates keep "stealing" file permissions for my `$PROGRAMDATA $CONFIGDATA $LOGDATA $CACHEDATA` directories.
2021-05-06 18:56:13 +02:00
cvium 01491796a2 Enable Workstation GC mode 2021-04-11 12:57:28 +02:00
Joshua M. Boniface 5f2cd11199 Bump version to 10.8.0 for next release 2020-12-04 21:56:24 -05:00
Joshua M. Boniface 6de79e03a2 Go back to at with lower sleep and start 2020-11-22 18:32:16 -05:00
Joshua M. Boniface 97665c9478 Remove the `at now` hack 2020-11-22 17:19:39 -05:00
Joshua M. Boniface 1079ddb46c Run explicit service start if restart failed
Should solve the occasional bugs with the restart in the WebUI.
Sometimes the service stops and then doesn't start again; this will run
an explicit start action afterwards. If this doesn't fix it I'm certain
there would be more tweaking that can be done.
2020-11-22 17:12:29 -05:00
crobibero 185fac0677 Upgrade all netcore3.1 to net5.0 2020-11-15 13:31:47 -07:00
Joshua M. Boniface 0bcf4c02b4 Remove jellyfin-ffmpeg dep from server package
Being added to the metapackage instead.
2020-10-31 15:50:56 -04:00
Joshua M. Boniface d454e8710d
Merge pull request #3690 from MichaIng/patch-1
Fix left /usr/bin/jellyfin symlink on removal and typo
2020-10-17 01:51:53 -04:00
crobibero 583f47ea28 Remove GenerateDocumentationFile 2020-09-04 07:04:06 -06:00
crobibero 44fb76bbcf include xml docs when publishing 2020-08-29 10:42:12 -06:00
Joshua M. Boniface a511e0ac0b Bump master version to 10.7.0 for next release 2020-07-27 19:10:40 -04:00
MichaIng 1883ecd817
Fix left /usr/bin/jellyfin symlink on removal and typo
After removal of the symlink target file "/usr/lib/jellyfin/bin/jellyfin", file existence check on the symlink "[[ -f /usr/bin/jellyfin ]]" returns false. As a result the symlink is left in place on package purge. The correct check would be "[[ -L /usr/bin/jellyfin ]]", but since it could be a file in cases, e.g. manual fix on file systems with no symlink support or for any other reason, it is easiest to use "rm -f" to assure that it is removed in both cases and not return false even if it does not exist at all.

Additionally this fixes a typo on upstart script check.

Signed-off-by: MichaIng <micha@dietpi.com>
2020-07-24 22:43:32 +02:00
Fernando Fernández 722f6f5a26 fix typo in debian's config file 2020-07-23 20:53:04 +02:00
Joshua M. Boniface b1fe20aac5 Readd sed'd out dotnet-sdk dependency 2020-07-19 23:36:48 -04:00
Joshua M. Boniface 4966ca3616 Remove the old Emby conflicts
It's been long enough that this is no longer an issue. We still conflict
on the ports 8096 and 8190, but this will simply result in a failure to
start; allow users to get themselves into that situation if they wish.
2020-07-19 23:28:25 -04:00
Joshua M. Boniface 4ecedb2a12 Fix bad dependency handling in 10.6.0-1
Fixes the incorrect dependency handling from 10.6.0, which was missing
the Replaces and Breaks entries on jellyfin-server. Thus apt would
complain about /etc/default/jellyfin being in two packages and fail to
upgrade. With this configuration, I've verified that apt now handles
this situation properly.
2020-07-19 23:26:59 -04:00
Joshua M. Boniface 8c9604afba Add Web integration option in default service conf 2020-04-29 16:06:42 -04:00
hauntingEcho 4d949cb38b Specify a version for jellyfin-ffmpeg dependency in .deb
Lower versions cause #2126 in Jellyfin >= 10.4.3
2020-04-09 12:09:40 -04:00
Joshua M. Boniface 7eac368486 Fix missing restart script 2020-04-09 11:55:44 -04:00
Joshua M. Boniface b0e80b486b Use jellyfin.org everywhere 2020-04-09 11:40:04 -04:00
Joshua M. Boniface 8094687b9c Add Debian/Ubuntu metapackage equivs file 2020-03-30 02:40:06 -04:00
Joshua M. Boniface c478a43fd5 Update package description for Debian 2020-03-23 21:44:33 -04:00
Joshua M. Boniface 93d1256a4c Remove web building, rename, bump version 2020-03-23 14:46:16 -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 f822d1c871 Bump version for 10.0.1 2019-01-08 20:09:33 -05:00
Joshua Boniface 7bee88280c Hotfix to postinst to correct permissions
Without this, if not importing a previous config, the perms are
broken on the config directories. Fixes this.
2019-01-06 15:13:35 -05:00
Joshua M. Boniface 1273da5af9 Merge pull request #440 from joshuaboniface/debian-packaging
Debian packaging for 10.0.0
2019-01-06 14:58:17 -05:00
Joshua Boniface d4182e761c Tweakes based on review feedback 2019-01-06 14:55:24 -05:00
hawken ec2d3ef603 Stop including .git in dpkg source tarball 2019-01-06 12:15:13 +00:00
Joshua Boniface 4e8149bc86 Update logging for async mode from #438 2019-01-05 23:42:00 -05: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 263274e1ae Add VCS entries to control file 2019-01-05 20:30:58 -05:00
Joshua Boniface 56f9572b03 Bump version to 10.0.0 2019-01-05 20:30:58 -05:00
Joshua Boniface 34f226d83a Tweak unit to restart on any failure, 15s timeout 2018-12-28 10:27:27 -05:00
Joshua Boniface 1b4a21871a Bump Debian binary version 2018-12-28 10:26:54 -05:00
Joshua Boniface 022955d9ac Move the .NET Runtime flag into a variable 2018-12-28 10:25:19 -05:00
Joshua Boniface e1a24035b9 Bump Debian packaging version 2018-12-20 18:32:15 -05:00
Andrew Rabert a9607555df Add Linux binaries for SkiaSharp
- Not sure how this impacts Windows builds, but it works great for Linux.
- Requires additional deps on Debian
2018-12-16 23:23:00 -05:00
Vasily 57e050a69a Merge pull request #193 from joshuaboniface/selfcontained-binary
Debian packaging improvements
2018-12-16 11:20:08 +03:00
Andrew Rabert b369fbd05e Remove redundant solution specification 2018-12-16 00:43:38 -05:00
Joshua Boniface f91c01b850 Use consistent format 2018-12-15 18:25:59 -05:00
Joshua Boniface dcf1468eac Add cleanup of /etc/sudoers.d/emby in preinst 2018-12-15 18:18:51 -05:00
Joshua Boniface 0bffe19e37 Bump build number 2018-12-15 18:17:39 -05:00
Joshua Boniface 2e0c766886 Remove auto deps; add libssl dep; edit maintainer 2018-12-15 18:15:59 -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 668d8b4891 Also bump Debian build version 2018-12-14 00:08:47 -05:00
Joshua Boniface 6a02df1603 Clean up /var/lib/emby after #97 2018-12-13 23:49:16 -05:00
Joshua Boniface 2f7be76626 Add maxcpucount to dotnet clean
Fixes #120 as per https://github.com/dotnet/sdk/issues/2526
2018-12-13 09:46:25 -05:00