Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/19742bytes/roonit
"roonit" is a simple tool for enabling and disabling services in runit (Void Linux). Pronounced as "Rune-It" or "Ruined-It".
https://github.com/19742bytes/roonit
Last synced: 6 days ago
JSON representation
"roonit" is a simple tool for enabling and disabling services in runit (Void Linux). Pronounced as "Rune-It" or "Ruined-It".
- Host: GitHub
- URL: https://github.com/19742bytes/roonit
- Owner: 19742bytes
- Created: 2021-07-07T22:47:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-30T21:35:02.000Z (over 3 years ago)
- Last Synced: 2024-08-01T19:43:33.439Z (3 months ago)
- Language: C
- Size: 36.1 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# roonit
"roonit" is a simple tool for enabling and disabling services in runit (Void Linux).## "Installing"
1. Run the `make` command to compile
2. Then run `make install` to install the compiled executable to /usr/local/bin## "Uninstalling"
1. Run `make remove`## Usage
`roonit enable ` will enable a service located in /etc/sv/
`roonit disable ` will remove a service in /var/service/
`roonit start ` will start a service
`roonit stop ` will stop a service
`roonit status ` will show the status of a service (adding '-a' will show all services)## TODO:
- Figure out how to use `symlinkat()`
- Make this look neater
- Fix this garbage code
- Properly learn the C programming language## Credits/Special Thanks
- Special thanks to everybody on the voidlinux subreddit
- You should check out https://github.com/bahamas10/vsv it's a shell script that does this and beyond