Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4966

Advanced users • Systemd .service configuration for failure remediation

$
0
0
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

Statistics: Posted by piwi — Wed Jun 05, 2024 7:04 am — Replies 0 — Views 8



Viewing all articles
Browse latest Browse all 4966

Trending Articles