Hi team,
Any suggestions for the issue.
Regards,
Kamal Rathi
On Fri, Feb 21, 2020 at 8:09 AM Kamal Rathi <kr30april@xxxxxxxxx> wrote:
Hi Team,The suggestion offered for design stop service was successfully integrated but the issue is still same as the User.slices still got kill.I am pasting my service heregrep -v ^# /etc/systemd/system/stop.service
[Unit]
Description=Service to auto stop the EBS application
After=user.slice
[Service]
ExecStart=
ExecStop=/startdb/stop/stop.sh
RemainAfterExit=true
[Install]
WantedBy=user.sliceNow service runs but still issue is that I want my service to stop the processes not systemdIssue might be similar like thisRegards,KamalOn Thu, Feb 20, 2020 at 10:15 PM Kamal Rathi <kr30april@xxxxxxxxx> wrote:Hi Lennart,THe suggestion you have offered for design stop service was successfully integrated but the issue is still same as the User session in User.slice still got kill.I am pasting my service heregrep -v ^# /etc/systemd/system/stop.service
[Unit]
Description=Service to auto stop the EBS application
After=-.slice system.slice user.slice
[Service]
ExecStart=
ExecStop=/startdb/stop/stop.sh
RemainAfterExit=true
[Install]
WantedBy=user.sliceNow service runs but still issue is that I want my service to stop the processes not systemdIssue might be similar like thisRegards,KamalOn Thu, Jan 2, 2020 at 6:34 PM Lennart Poettering <lennart@xxxxxxxxxxxxxx> wrote:On Di, 31.12.19 11:04, Kamal Rathi (kr30april@xxxxxxxxx) wrote:
> Hi Git-Hub Mailing List,
>
> I am designing a stop service which has to be run before the kill of user's
> scope / session .
How could this work? Users can log out or be terminated any time,
i.e. their scope/sessions can go away during runtime all the time, and
they won't tell us beforehand about it beforehand, hence how could we
run something beforehand?
Lennart
--
Lennart Poettering, Berlin
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel