File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ sudo systemctl enable --now code-server@$USER
192
192
```
193
193
194
194
## Artix Linux
195
+
195
196
``` bash
196
197
# Install code-server from the AUR
197
198
git clone https://aur.archlinux.org/code-server.git
@@ -216,40 +217,42 @@ command_background="yes"
216
217
extra_commands=" report"
217
218
218
219
depend () {
219
- use logger dns
220
- need net
220
+ use logger dns
221
+ need net
221
222
}
222
223
223
224
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
225
226
}
226
227
227
228
start () {
228
- default_start
229
- report
229
+ default_start
230
+ report
230
231
}
231
232
232
233
stop () {
233
- default_stop
234
+ default_stop
234
235
}
235
236
236
237
status () {
237
- default_status
238
- report
238
+ default_status
239
+ report
239
240
}
240
241
241
242
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"
244
245
}
245
246
```
246
247
247
248
Start on boot with default runlevel
249
+
248
250
```
249
251
rc-update add code-server default
250
252
```
251
253
252
254
Start the service immediately
255
+
253
256
```
254
257
rc-service code-server start
255
258
```
You can’t perform that action at this time.
0 commit comments