Hi,
what I would like to achieve:
-autostart a simple service at boot time called a.service
-when a.service fails to start (e.g. due to misconfiguration of RASPI or customer software) then another script is executed for remediation
-afterwards a.service must be restarted again automatically
Can that be achieved by adding a specific config to a.service or does my script stated under "ExecStart" have to cover the remdiation logic?
Thanks
what I would like to achieve:
-autostart a simple service at boot time called a.service
-when a.service fails to start (e.g. due to misconfiguration of RASPI or customer software) then another script is executed for remediation
-afterwards a.service must be restarted again automatically
Can that be achieved by adding a specific config to a.service or does my script stated under "ExecStart" have to cover the remdiation logic?
Thanks
Statistics: Posted by piwi — Wed Jun 05, 2024 7:04 am — Replies 0 — Views 8