mirror of
https://codeberg.org/revsuine/disable-c6-runit.git
synced 2025-01-23 05:47:16 +00:00
add info on installation and service management to the readme
This commit is contained in:
parent
4dc1fd1c70
commit
d9897728bd
1 changed files with 70 additions and 0 deletions
70
README.md
70
README.md
|
@ -11,3 +11,73 @@ on Linux.
|
|||
PATH as `zenstates` (installing `zenstates-git` from the AUR will provide
|
||||
this)
|
||||
|
||||
## Installation
|
||||
|
||||
### Package Managers
|
||||
|
||||
#### Arch
|
||||
|
||||
This is on the AUR at `disable-c6-runit-git`. Either install it using your
|
||||
favourite AUR helper, or install the package without a helper:
|
||||
|
||||
```sh
|
||||
$ git clone https://aur.archlinux.org/disable-c6-runit-git.git
|
||||
$ cd disable-c6-runit-git
|
||||
$ makepkg -si
|
||||
```
|
||||
|
||||
### Manual Installation
|
||||
|
||||
Clone the repo:
|
||||
|
||||
```sh
|
||||
$ git clone --depth=1 https://codeberg.org/revsuine/disable-c6-runit.git
|
||||
$ cd disable-c6-runit
|
||||
```
|
||||
|
||||
Copy the `disable-c6/` folder to wherever you store your runit services, e.g.
|
||||
for where Artix keeps their folders:
|
||||
|
||||
```sh
|
||||
# cp -r disable-c6 /etc/runit/sv
|
||||
```
|
||||
|
||||
For Void:
|
||||
|
||||
```sh
|
||||
# cp -r disable-c6 /etc/sv
|
||||
```
|
||||
|
||||
## Enabling the Service
|
||||
|
||||
Symlink the service directory to your enabled services directory as usual. This
|
||||
varies by distro.
|
||||
|
||||
### Void Linux
|
||||
|
||||
```sh
|
||||
# ln -s /etc/sv/disable-c6 /var/service
|
||||
```
|
||||
|
||||
### Artix Linux
|
||||
|
||||
```sh
|
||||
# ln -s /etc/runit/sv/disable-c6 /run/runit/service
|
||||
```
|
||||
|
||||
### Debian
|
||||
|
||||
```sh
|
||||
# ln -s /etc/runit/disable-c6 /etc/service
|
||||
```
|
||||
|
||||
## Disabling the Service
|
||||
|
||||
Break the symlink:
|
||||
|
||||
```sh
|
||||
# unlink /var/service/disable-c6
|
||||
```
|
||||
|
||||
Or wherever your service directory is.
|
||||
|
||||
|
|
Loading…
Reference in a new issue