nsenter
This commit is contained in:
parent
bd128edf16
commit
e6e18467cd
1 changed files with 6 additions and 0 deletions
|
@ -67,4 +67,10 @@ log_format custom '$http_x_forwarded_for - $remote_user [$time_local] '
|
|||
'"$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent"';
|
||||
access_log /var/log/nginx/access.log custom;
|
||||
```
|
||||
|
||||
Aller dans le namespace de LXD (snap0 pour faire des actions genre mount/umount :
|
||||
|
||||
```
|
||||
# nsenter -t $(cat /var/snap/lxd/common/lxd.pid) -m
|
||||
```
|
Loading…
Reference in a new issue