Skip to main content
Topic: Shutdown/suspend etc equivalent to systemctl (Read 566 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Shutdown/suspend etc equivalent to systemctl

I've created years ago a shutdown application in python and I was using systemctl for shutdwown/reboot/suspend/logout user commands. Which are the equivalents in init without the need to get root priviledge?

Re: Shutdown/suspend etc equivalent to systemctl

Reply #1
with elogind you can use loginctl

For more information check:
Code: [Select]
loginctl --help