Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplyceo/runit-service
https://github.com/simplyceo/runit-service
linux runit runit-service
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simplyceo/runit-service
- Owner: SimplyCEO
- License: gpl-2.0
- Created: 2024-11-14T16:34:40.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-11-14T16:49:33.000Z (about 1 month ago)
- Last Synced: 2024-11-14T17:38:51.452Z (about 1 month ago)
- Topics: linux, runit, runit-service
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
runit-service
=============A custom tool to manage runit services.
The main goal is to provide a `systemctl` like command to easily manage complex commands.Usage
-----In most cases `runit-service ` can be used.
Only when using `list`, `` can be empty. `enabled` too, but it accepts a value.Available modes:
- list: List the services located at '/etc/runit/sv'.
- link: Link the service from '/etc/runit/sv' to '/etc/runit/runsvdir/default'.
- enabled: List the enabled services located at '/etc/runit/runsvdir/default'.
- disable: Disable a service from activating at boot.
- enable: Enable a service activation after boot.
- status: Display the service information.
- start: Start the service.
- restart: Stop and start the service.
- stop: Stop the service.Installation
------------Give yourself `root` privileges and run these instructions.
Set mode to `rwxr-xr-x` or `0755`:
```shell
chmod 0755 runit-service.sh
```Move it to a `bin` folder. Preferably along runit scripts:
```shell
cp runit-service.sh /usr/bin/runit-service
```