Initialize ChuBlog backend with SSH Git publishing
This commit is contained in:
commit
a631d75cee
31 files changed
+4850
No files matched your search
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
if [ ! -d /var/lib/chusql/system ]; then
|
||||
printf '%s\n' "$CHUSQL_ROOT_PASSWORD" | csql-bootstrap --config /etc/chusql/settings.toml --user root --password-stdin
|
||||
fi
|
||||
unset CHUSQL_ROOT_PASSWORD
|
||||
exec chusql-server --config /etc/chusql/settings.toml --listen-host 0.0.0.0 --port 7777
|
||||
Reference in new issue
Block a user