equal
deleted
inserted
replaced
3 ===================== |
3 ===================== |
4 Alpine Linux distro |
4 Alpine Linux distro |
5 ===================== |
5 ===================== |
6 .. contents:: |
6 .. contents:: |
7 :local: |
7 :local: |
|
8 |
|
9 Init system |
|
10 =========== |
|
11 |
|
12 Manage run levels:: |
|
13 |
|
14 rc-update add $SERVICE $LEVEL |
|
15 rc-update del $SERVICE $LEVEL |
|
16 rc-service $SERVICE start |
|
17 rc-service $SERVICE restart |
|
18 rc-service $SERVICE stop |
|
19 |
|
20 Equivalent to shutdown -r now from traditional GNU/Linux systems:: |
|
21 |
|
22 reboot |
|
23 |
|
24 Equivalent to shutdown -h now from traditional GNU/Linux systems:: |
|
25 |
|
26 halt |
|
27 |
|
28 To turn off the machine:: |
|
29 |
|
30 poweroff |
|
31 |
|
32 https://wiki.alpinelinux.org/wiki/Alpine_Linux_Init_System |
|
33 Alpine Linux Init System |
8 |
34 |
9 Package manager |
35 Package manager |
10 =============== |
36 =============== |
11 |
37 |
12 Update local package database:: |
38 Update local package database:: |