This commit is contained in:
parent
af60aaaedf
commit
2e746b9076
6 changed files with 138 additions and 0 deletions
13
jellyfin/jellyfin.service
Normal file
13
jellyfin/jellyfin.service
Normal file
|
@ -0,0 +1,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
|
Loading…
Add table
Add a link
Reference in a new issue