aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Büttner <thomas@vergesslicher.tech>2019-01-11 16:15:06 +0100
committerThomas Büttner <thomas@vergesslicher.tech>2019-01-11 16:15:06 +0100
commit8eb2fe1b5874feb6a1379b9c10ab3dff7700eb97 (patch)
tree49a98e5594ab9e4b2ee2a623e23a28c6001b2279
parent4e7f4754917a2ec5814cbd495532e4765e165773 (diff)
Remove references to Debian package
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
-rw-r--r--rpm-package/jellyfin.override.conf7
-rw-r--r--rpm-package/jellyfin.spec5
2 files changed, 10 insertions, 2 deletions
diff --git a/rpm-package/jellyfin.override.conf b/rpm-package/jellyfin.override.conf
new file mode 100644
index 000000000..9764a0621
--- /dev/null
+++ b/rpm-package/jellyfin.override.conf
@@ -0,0 +1,7 @@
+# Jellyfin systemd configuration options
+
+# Use this file to override the user or environment file location.
+
+[Service]
+#User = jellyfin
+#EnvironmentFile = /etc/default/jellyfin \ No newline at end of file
diff --git a/rpm-package/jellyfin.spec b/rpm-package/jellyfin.spec
index 315a542e3..8c1aa37ac 100644
--- a/rpm-package/jellyfin.spec
+++ b/rpm-package/jellyfin.spec
@@ -19,6 +19,7 @@ Source4: restart.sh
Source5: https://github.com/mono/taglib-sharp/archive/%{taglib_commit}/taglib-sharp-%{taglib_shortcommit}.tar.gz
Source6: update-db.sh
Source7: jellyfin-firewalld.xml
+Source8: jellyfin.override.conf
%{?systemd_requires}
BuildRequires: systemd
@@ -61,8 +62,8 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
dotnet publish --configuration Release --output='%{buildroot}%{_libdir}/jellyfin' --self-contained --runtime linux-x64
%{__install} -D -m 0644 LICENSE %{buildroot}%{_datadir}/licenses/%{name}/LICENSE
-%{__install} -D -m 0644 debian/conf/jellyfin.service.conf %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service.d/override.conf
-%{__install} -D -m 0644 debian/conf/logging.json %{buildroot}%{_sysconfdir}/%{name}/logging.json
+%{__install} -D -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service.d/override.conf
+%{__install} -D -m 0644 Jellyfin.Server/Resources/Configuration/logging.json %{buildroot}%{_sysconfdir}/%{name}/logging.json
%{__mkdir} -p %{buildroot}%{_bindir}
tee %{buildroot}%{_bindir}/jellyfin << EOF
#!/bin/sh