Go to file
linuxer 5cdc2738d5
Update README.md
2021-02-13 17:37:41 +02:00
LICENSE Initial commit 2021-02-10 19:06:07 +01:00
README.md Update README.md 2021-02-13 17:37:41 +02:00
fakesystemctl /home/linuxer/GITs/Gitea/fakesystemctl/fakesystemctl 2021-02-13 01:10:53 +02:00

README.md

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
  • systemctl start
  • systemctl restart
  • systemctl status
  • systemctl stop
  • systemctl status
  • systemctl disable
  • 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