aur/jellyfin/jellyfin.service

14 lines
347 B
SYSTEMD
Raw Normal View History

2021-11-15 09:42:49 +01:00
[Unit]
Description=Jellyfin Media Server
After=network.target
[Service]
User=jellyfin
EnvironmentFile=/etc/conf.d/jellyfin
ExecStart=/usr/bin/dotnet /usr/lib/jellyfin/jellyfin.dll --datadir ${JELLYFIN_DATA_DIRECTORY} --cachedir ${JELLYFIN_CACHE_DIRECTORY} ${JELLYFIN_ADD_OPTS}
Restart=on-abort
TimeoutSec=20
[Install]
WantedBy=multi-user.target