Hi,
The minimal file with which I was able to reproduce the issue is:
[Unit]
Description="Example"
SuccessAction=reboot-force
[Service]
Type=simple
ExecStart=/bin/false
Restart=on-failure
I can reproduce it both on my buildroot system with systemd 247 and fresh
On Mi, 16.02.22 11:45, Michał Rudowicz (michal.rudow...@fl9.eu) wrote:
> Hi,
>
> I am trying to write a .service file for an application which is supposed to
> run indefinitely. The approach I have is:
>
> - if the application crashes (exits with a non-zero exit code), I want
>it to be
Hi,
I am trying to write a .service file for an application which is supposed to
run indefinitely. The approach I have is:
- if the application crashes (exits with a non-zero exit code), I want
it to be restarted. This can be achieved easily using the Restart
directive, like