This commit is contained in:
simonzhangsz committed 2023-09-14 14:46:03 +08:00
1 parent 58e3d5124c
commit eb7f33c477
4 files changed
+19 -1

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ cp -f systemd/adb.service ${RPM_BUILD_ROOT}/lib/systemd/system/adb.service
# 安装完成后执行
%post
if [ ! -e "${RedisConfDir}/redis.conf" ]; then cp ${RedisConfDir}/default/redis.conf ${RedisConfDir}; fi
if ! id -u omc >/dev/null 2>&1 ; then useradd -d /opt/omc -m -s /bin/bash -p1000ftp@kp omc; else echo "user omc exist"; fi
mkdir -p /opt/omc/ftp
mkdir -p /opt/omc/ftp/log