run as normal user, not root
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-22 06:02:15 -07:00
parent d5e258ff01
commit 67833a1b2d
2 changed files with 9 additions and 1 deletions

View File

@@ -19,5 +19,6 @@ if [[ ! -e /config/users.txt ]]; then
echo "[{\"password\":\"$DEFAULT_ADMIN_PASSWORD\",\"nick\":\"admin\",\"level\":10,\"regby\":\"admin\",\"regtime\":1322835912}]" > /config/users.txt
fi
chown -R user:user /config
cd /config
exec /usr/local/bin/adchppd -c /config
exec chpst -u user:user /usr/local/bin/adchppd -c /config