修改systime的postinst文件
This commit is contained in:
parent
0e37e11857
commit
18eeb6715c
|
@ -0,0 +1,10 @@
|
|||
check_env=`systemd-detect-virt`
|
||||
echo $check_env
|
||||
if [ $check_env = "docker" ];then
|
||||
echo "docker env do not start kysdk-systime.service"
|
||||
else
|
||||
systemctl daemon-reload
|
||||
systemctl enable kysdk-systime.service
|
||||
systemctl restart kysdk-systime.service
|
||||
fi
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
systemctl daemon-reload
|
||||
systemctl enable kysdk-systime.service
|
||||
systemctl restart kysdk-systime.service
|
Loading…
Reference in New Issue