summarylogtreecommitdiffstats
path: root/jellyfin.service
blob: cd1626bbdaea4f8c1cdf767a9bdd2346d1b5c959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[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