Re: soft-reboot and service templates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 5 Jun 2024 at 14:45, Thorsten Kukuk <kukuk@xxxxxxxx> wrote:
>
> Hi,
>
> while playing with soft-reboot and services surviving this:
> A standard service file works, but if I use a service template (e.g.
> test@.service), the service get's stopped during soft-reboot.
> Reasons is:
> -Slice=system.slice
> +Slice=system-test.slice
>
> Is it somehow possible, that also "test@.service" stays alive during a
> soft-reboot?
> Or is there another way to pass variables to a service file at
> startup? I don't need to run the same service several times in
> parallel.
>
> Thanks,
>   Thorsten

Yeah we haven't tested this scenario at all - did you try adding a
drop-in for system-test.slice.d that sets the parameters to avoid
having it stopped on softreboot?



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux