#Goals
I want systemd to know if a service is up when it's up
I want systemd to know if a service is down when it's down
If a service crashes I want drkonqi as before
/ideally/ we want systemd handling the restarts as it's a lot smarter than our internal app method, but that's something we can itterate on.
# Current state
ExecStart=/opt/kde5/bin/plasmashell
causes drkonqi to work, plasma to restart, but systemd thinks the process is degraded and down
-------
ExecStart=/opt/kde5/bin/plasmashell -n
Restart=always
causes plasmashell to restart, but we don't get drkonqi :(
>Mar 27 12:15:12 david-desktop systemd[703]: plasmashell.service: Succeeded.
>Mar 27 12:15:12 david-desktop systemd[703]: plasmashell.service: Consumed 6.242s CPU time.
>Mar 27 12:15:12 david-desktop plasmashell[77501]: org.kde.drkonqi: The specified process does not exist.
---------
ExecStart=/opt/kde5/bin/plasmashell -n
Restart=on-failure
Doesn't work, even though it should. On sending SIGSEGV systemd receives sigterm, because kcrash meddles with it. We also still don't get drkonqi