@@ -1,5 +1,14 @@
#!/bin/bash
# 判断 app 用户是否存在
if id "app" >/dev/null 2>&1; then
echo "User app exists."
else
# 创建 app 用户
echo "Creating user app..."
useradd -m -s /bin/bash app
fi
app_name=gin-article
# 获取当前目录的绝对路径
The note is not visible to the blocked user.