16 lines
309 B
Django/Jinja
16 lines
309 B
Django/Jinja
[Unit]
|
|
Description=JDownload Headless
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/opt/JDownloaderScripts/JDownloaderHeadlessCtl start
|
|
ExecStop=/opt/JDownloaderScripts/JDownloaderHeadlessCtl stop
|
|
User={{JD_Username}}
|
|
Group={{JD_Username}}
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|