增加集群服务器ha配置;更新pyinstaller打包后找不到依赖库的bug.
This commit is contained in:
12
roles/oam_cli/files/oam_cli.service
Normal file
12
roles/oam_cli/files/oam_cli.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=oam_cli restart
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
ExecStart=/usr/bin/mount --bind /opt/tsg/etc /home/tsgroot/opt/tsg/etc
|
||||
ExecStart=/usr/bin/mount -o bind /proc /home/tsgroot/proc
|
||||
ExecStart=/usr/bin/mount -o remount,rw,bind /proc /home/tsgroot/proc
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user