++alpine Linux
This commit is contained in:
parent
84807d2730
commit
1fd21974d7
2 changed files with 15 additions and 0 deletions
3
alpine-linux/README.md
Normal file
3
alpine-linux/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
* Alpine Linux does not mark /run or /sys as shared
|
||||||
|
* Deploy mount-shared in /etc/init.d
|
||||||
|
* Execute `rc-update add mount-shared`
|
12
alpine-linux/mount-shared
Executable file
12
alpine-linux/mount-shared
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
|
depend()
|
||||||
|
{
|
||||||
|
after sysfs
|
||||||
|
}
|
||||||
|
|
||||||
|
start()
|
||||||
|
{
|
||||||
|
mount --make-shared /run
|
||||||
|
mount --make-shared /sys
|
||||||
|
}
|
Loading…
Reference in a new issue