Welcome to the Linux Foundation Forum!

Kernel Panic : how to stop systemd managed process from being respawned

I am using systemd to manage an application process, which is configured for "respawn" always.

During kernel panic, i need to tweak the behavior such that the process isnt respawned.

Is there a way for identifying kernel is in shutdown path (reboot or panic) and appropriately, take action in the service file such that "start" or "restart" is not honoured.

please share any deterministic way for application process to be managed better during kernel shutdown path

Answers

  • ShuahKhanLF
    ShuahKhanLF Posts: 124

    Take a look at the systemd configuration files for any knobs to control the panic/restart behavior.

Categories

Upcoming Training