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
192192```
193193
194194## Artix Linux
195+
195196``` bash
196197# Install code-server from the AUR
197198git clone https://aur.archlinux.org/code-server.git
@@ -216,40 +217,42 @@ command_background="yes"
216217extra_commands=" report"
217218
218219depend () {
219- use logger dns
220- need net
220+ use logger dns
221+ need net
221222}
222223
223224start_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
227228start () {
228- default_start
229- report
229+ default_start
230+ report
230231}
231232
232233stop () {
233- default_stop
234+ default_stop
234235}
235236
236237status () {
237- default_status
238- report
238+ default_status
239+ report
239240}
240241
241242report () {
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
247248Start on boot with default runlevel
249+
248250```
249251rc-update add code-server default
250252```
251253
252254Start the service immediately
255+
253256```
254257rc-service code-server start
255258```
You can’t perform that action at this time.
0 commit comments