summarylogtreecommitdiffstats
path: root/emby-server.service
diff options
context:
space:
mode:
authorNicola Hinssen2020-12-08 22:17:24 +0100
committerNicola Hinssen2020-12-08 22:17:24 +0100
commitb8139d1eeabbd902022818cf3a768d4a2d51e342 (patch)
tree12dd02ad8cf847b12be1777ecbd7133c2844d8e2 /emby-server.service
parent2bf1f89d398ec8ebfc66fd4436779d580981f158 (diff)
downloadaur-b8139d1eeabbd902022818cf3a768d4a2d51e342.tar.gz
4.6.0.6
Diffstat (limited to 'emby-server.service')
-rw-r--r--emby-server.service22
1 files changed, 16 insertions, 6 deletions
diff --git a/emby-server.service b/emby-server.service
index 9b2d7ff9b90..18f36d5cd2a 100644
--- a/emby-server.service
+++ b/emby-server.service
@@ -1,16 +1,26 @@
[Unit]
-Description=Emby Server Daemon
+Description=Emby brings together your videos, music, photos, and live television.
+After=network.target
[Service]
+User=emby
+Group=emby
+SupplementaryGroups=render
+SupplementaryGroups=video
+DynamicUser=true
+StateDirectory=emby
+ReadWritePaths=-/dev/dri
+
EnvironmentFile=/etc/conf.d/emby-server
-WorkingDirectory=/usr/lib/emby-server
ExecStart=/usr/bin/emby-server
RestartForceExitStatus=3
-User=emby
-Group=emby
-[Unit]
-After=network.target
+AmbientCapabilities=
+CapabilityBoundingSet=
+LockPersonality=true
+ProtectControlGroups=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
[Install]
WantedBy=multi-user.target