There was an error while loading. Please reload this page.
1 parent db6c5d2 commit c0b7c6cCopy full SHA for c0b7c6c
1 file changed
install/oxicloud-install.sh
@@ -39,7 +39,7 @@ sed -e 's|_STORAGE_PATH=.*|_STORAGE_PATH=/mnt/oxicloud|' \
39
-e "s|_STRING=.*|_STRING=${DATABASE_URL}|" \
40
-e "s|DATABASE_URL=.*|DATABASE_URL=${DATABASE_URL}|" \
41
-e "s|^#OXICLOUD_JWT_SECRET=.*|OXICLOUD_JWT_SECRET=$(openssl rand -hex 32)|" \
42
- -e 's|^#OXICLOUD_ENABLE|OXICLOUD_ENABLE|g|' \
+ -e 's|^#OXICLOUD_ENABLE|OXICLOUD_ENABLE|g' \
43
/opt/oxicloud/example.env >/etc/oxicloud/.env
44
chmod 600 /etc/oxicloud/.env
45
$STD useradd -U -s /usr/sbin/nologin -M -d /opt/oxicloud oxicloud
0 commit comments