]> git.proxmox.com Git - mirror_lxcfs.git/commitdiff
doc: guide for reload share libary file
authorsn0rt <wangguohao.2009@gmail.com>
Tue, 19 Oct 2021 10:36:34 +0000 (18:36 +0800)
committersn0rt <wangguohao.2009@gmail.com>
Tue, 19 Oct 2021 10:36:34 +0000 (18:36 +0800)
Signed-off-by: sn0rt <wangguohao.2009@gmail.com>
README.md

index 4fd32038f033dabc069f6e7ed4d1ad5b8ddd2386..50045e02ad4df627e5fdf1657c65919d4c3d9be3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -45,7 +45,9 @@ To force a reload of the shared library at the next possible instance simply
 send `SIGUSR1` to the pid of the running `LXCFS` process. This can be as simple
 as doing:
 
-    kill -s USR1 $(pidof lxcfs)
+    rm /usr/lib64/lxcfs/liblxcfs.so # MUST to delete the old library file first
+    cp liblxcfs.so /usr/lib64/lxcfs/liblxcfs.so # to place new library file
+    kill -s USR1 $(pidof lxcfs) # reload
 
 ### musl