Skip to content

A small static program that you give systemd style commands and it will translate them to your installed init system

License

Notifications You must be signed in to change notification settings

vl-prokopenko/uservice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universal Service (uservice)

uservice is a small static program that you give systemd style commands and it will translate them to your installed init system

This is useful if you use many distros and swapping between syntax of init systems is annoying

Supported Systems

  • systemd
    • Arch Linux
    • CachyOS
    • Raspberry Pi OS
  • openRC
    • Alpine Linux

Supported Operations

  • uservice start <service>
  • uservice stop <service>
  • uservice restart <service>
  • uservice status <service>
  • uservice enable <service>
  • uservice disable <service>

Compiling and Installing

Download the repo and run make to compile
Copy the resulting binary to /bin You may or may not need to restart your shell

If you are updating just redownload and repeat the steps and overwrite the file

Notes

  • On OpenRC enabling and disabling services always happens on runlevel default

About

A small static program that you give systemd style commands and it will translate them to your installed init system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.6%
  • Makefile 1.4%