xoxys.jellyfin/templates/etc/systemd/system/jellyfin.service.j2
Robert Kaussow bacc486091
Some checks failed
continuous-integration/drone/push Build is failing
small fixes and cleanup
2019-07-30 23:02:40 +02:00

21 lines
514 B
Django/Jinja

#jinja2: lstrip_blocks: True
# {{ ansible_managed }}
[Unit]
Description=Jellyfin Media Server
After=network.target
[Service]
Type=simple
Environment=JELLYFIN_DATA_DIR={{ jellyfin_data_dir }}
Environment=JELLYFIN_CONFIG_DIR={{ jellyfin_conf_dir }}
Environment=JELLYFIN_LOG_DIR={{ jellyfin_log_dir }}
Restart=on-failure
TimeoutSec=15
User={{ jellyfin_user }}
Group={{ jellyfin_group }}
WorkingDirectory={{ jellyfin_base_dir }}
ExecStart={{ jellyfin_base_dir }}/jellyfin-latest
[Install]
WantedBy=multi-user.target