Closed Flachzange closed 8 years ago
Strange as i have been running it fine on my end, will check this out and see if it makes any difference. Thanks for reporting it.
New version coming soon, open a new issue if problem persists.
Commit ea41e66fff0f3b349dc5891364b6543eea4bcaca breaks this for me again. The change from Type=simple
to Type=oneshot
gets this service hung in activating state. This causes the service to show up as failed in the OMV Web Interface.
Since a couple of days noticed a problem with the jdownloader.service: It restarted itself after a couple of minutes. Running jdownloader manually worked fine, so I had a look into systemd behaviour. From the logs I could see that the service never went to the "running" state :
After a specified timeout systemd ran into a timeout and the service start failed:
Apr 27 21:52:12 turk systemd[1]: jdownloader.service start operation timed out. Terminating.
I did some quick research here and it seems that simple java applications should not have type "forking". Instead "simple" should be used in the service file:
With this change all problems are gone.