1
1
Fork
You've already forked fakesystemctl
1
No description
  • Shell 84.2%
  • Roff 9.5%
  • Makefile 6.3%
Find a file
2022年06月14日 01:37:00 +02:00
fakesystemctl better printout of error args commit 2021年10月14日 14:40:04 +03:00
fakesystemctl.1 manpage corrections 2021年10月11日 20:42:36 +03:00
LICENSE Initial commit 2021年02月10日 19:06:07 +01:00
Makefile makefile corrected commit 2021年10月12日 11:50:06 +03:00
README.md Update README.md 2021年03月26日 23:38:20 +02:00

fakesystemctl - a hack to provide systemctl function

An interface among nosystemd inits, to be executed with sudo/doas, for services management and power actions, ONLY WHEN NECESSARY, i.e. when systemctl command can't be removed, although the services have been removed, like Webmin or gnome-shell power actions extensions.

Available commands are:

  • systemctl enable <service>
  • systemctl start <service>
  • systemctl restart <service>
  • systemctl status <service>
  • systemctl stop <service>
  • systemctl status <service>
  • systemctl disable <service>
  • systemctl is-active <service>
  • systemctl hibernate
  • systemctl reboot
  • systemctl poweroff
  • systemctl suspend

Other info:

  • Licensed under GPL-2.0-only https://spdx.org/licenses/GPL-2.0-only.html

  • Code complies with shellcheck https://www.shellcheck.net

  • NOT for packaging purposes - I may be pulled by other packages PKGBUILDS, only when it is needed

  • (if the above changes, this README and code, will be modified accortingly)

  • Functions tested successfully with OpenRC, Runit, s6 and elogind environments

  • Link it as systemctl to your /usr/bin folder with sudo ln -S fakesystemctl /usr/bin/systemctl