mirror of
https://git.adityakumar.xyz/code-server-openrc.git
synced 2024-11-09 19:49:45 +00:00
update README
This commit is contained in:
parent
2566e921d0
commit
db8dba5f9b
1 changed files with 16 additions and 1 deletions
17
README.md
17
README.md
|
@ -1,3 +1,18 @@
|
||||||
# code-server-openrc
|
# code-server-openrc
|
||||||
|
|
||||||
OpenRC script for code-server
|
OpenRC script for code-server.
|
||||||
|
|
||||||
|
This script is pretty generic and should be able to run on any OpenRC-based distribution with minimal tweaks.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
Put `code-server` in `/etc/init.d` and make it executable with `chmod +x code-server`. Put your username in line 3.
|
||||||
|
|
||||||
|
Run on boot with default runlevel
|
||||||
|
```
|
||||||
|
rc-update add code-server default
|
||||||
|
```
|
||||||
|
|
||||||
|
Start the service immediately
|
||||||
|
```
|
||||||
|
rc-service code-server start
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue