You are not logged in.

#1 2024-04-13 16:51:47

phoenix324
Member
Registered: 2023-08-23
Posts: 66

`loginctl teminate-session` Vs `loginctl kill-session`

Which one is safer? I want to terminate application of session gracefully ( SIGTERM then followed by SIGKILL )

Read the man-page, but it only says that `kill-session` can send specific signals to specific program, but what is the default signal?

What about `terminate-session`? Which signals does it uses?

I was thinking terminate-session similar to SIGTERM and kill-session similar to SIGKILL

I found this https://serverfault.com/questions/11030 … n-loginctl, but couldn't understand it.

Last edited by phoenix324 (2024-04-13 16:52:47)

Offline

Board footer

Powered by FluxBB