#1
|
|||
|
|||
Need ubuntu 18.04 systemd "script"
I live on a Mac but I have JDownloader running on an ODroid which is running Ubuntu 18.04. Right now I have a script (cleverly called Run) that I can kick off via the shell and it starts a headless JDownloader. The small angst is with each reboot, I need to log in and start it up.
Has anyone produced a systemd file to do this? I don't know jack about systemd and I'm not sure I want to learn. Thank you |
#2
|
||||
|
||||
for example
/etc/systemd/system/jdownloader2.service Quote:
replace /path with JDownloader path
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Thanks!
When I did `systemctl start jdownloader2` it did not return to the prompt. So I stopped it and changed `Type` to `simple` |
#4
|
||||
|
||||
Thanks for the feedback. oneshot should also work when you place & at the end of ExecStart
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|