Exec StopPost script writes to log file and writes to zookeeper.
I have checked that , that script takes Max 2 sec to finish.
To recreate issue, I have tried doing mre work in the script so that script
take more than 1 min but I could not recreate issue

On Nov 28, 2017 4:34 PM, "Mantas Mikulėnas" <[email protected]> wrote:

> On Tue, Nov 28, 2017 at 11:14 AM, prashantkumar dhotre <
> [email protected]> wrote:
>
>> Hi
>> Sometimes i see that service restart fails with
>> systemd[1]: *my.service failed to schedule restart job: Transaction is
>> destructive.*
>>
>> above error is very rare.
>> I have defined ExecStopPost script in my service file.
>> this problem does not always happen and  there is no defined steps to
>> recreate this.
>> Any idea what may cause above error ? is it ExecStopPost  script.
>>
>
> What does your ExecStopPost script do?
>
> --
> Mantas Mikulėnas <[email protected]>
>
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to