Skip to content

Commit 2ca1065

Browse files
committed
Format doc changes
1 parent fa9bc0a commit 2ca1065

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

docs/install.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ sudo systemctl enable --now code-server@$USER
192192
```
193193

194194
## Artix Linux
195+
195196
```bash
196197
# Install code-server from the AUR
197198
git clone https://aur.archlinux.org/code-server.git
@@ -216,40 +217,42 @@ command_background="yes"
216217
extra_commands="report"
217218

218219
depend() {
219-
use logger dns
220-
need net
220+
use logger dns
221+
need net
221222
}
222223

223224
start_pre() {
224-
checkpath --directory --owner $command_user --mode 0755 /run/$name /var/log/$name
225+
checkpath --directory --owner $command_user --mode 0755 /run/$name /var/log/$name
225226
}
226227

227228
start() {
228-
default_start
229-
report
229+
default_start
230+
report
230231
}
231232

232233
stop() {
233-
default_stop
234+
default_stop
234235
}
235236

236237
status() {
237-
default_status
238-
report
238+
default_status
239+
report
239240
}
240241

241242
report() {
242-
# Report to the user
243-
einfo "Reading configuration from ~/.config/code-server/config.yaml"
243+
# Report to the user
244+
einfo "Reading configuration from ~/.config/code-server/config.yaml"
244245
}
245246
```
246247

247248
Start on boot with default runlevel
249+
248250
```
249251
rc-update add code-server default
250252
```
251253

252254
Start the service immediately
255+
253256
```
254257
rc-service code-server start
255258
```

0 commit comments

Comments
 (0)