feat: import Sea vHost single-server testing release
This commit is contained in:
commit
248badd33e
441 files changed
+63221
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
[[ ${EUID} -eq 0 ]] || { echo 'Runtime roots must be prepared as root.' >&2; exit 1; }
|
||||
# These targets must exist before systemd constructs the agent mount namespace.
|
||||
# Keep installed directories' owners/modes; only create missing components.
|
||||
for managed in /www/server/nodejs /www/server/nodejs/vhost /www/server/nodejs/vhost/pids /www/server/python_manager /www/server/python_manager/versions; do
|
||||
[[ ! -L "$managed" && ( ! -e "$managed" || -d "$managed" ) ]] || { echo "Unsafe runtime directory: $managed" >&2; exit 1; }
|
||||
[[ -d "$managed" ]] || install -d -o root -g root -m 0755 "$managed"
|
||||
done
|
||||
Reference in new issue
Block a user