fix: create binary directory before fresh scheduler installation

This commit is contained in:
canglan committed 2026-10-30 21:07:48 +08:00
1 parent 8abb9d8a55
commit 9afd7d0067
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -143,8 +143,8 @@ fi
[[ -z "${security_backup}" ]] || rm -f -- "${security_backup}"
install -d -o root -g root -m 0755 /usr/local/libexec
install -o root -g root -m 0755 "${build_dir}/bin/sea-vhost-run" /usr/local/libexec/sea-vhost-run
install -o root -g root -m 0750 "${build_dir}/bin/sea-vhost-scheduler" /opt/sea-vhost/bin/sea-vhost-scheduler
install -d -o root -g sea-vhost-control -m 0750 /opt/sea-vhost/bin
install -o root -g root -m 0750 "${build_dir}/bin/sea-vhost-scheduler" /opt/sea-vhost/bin/sea-vhost-scheduler
install -d -o root -g root -m 0755 /opt/sea-vhost/web
install -d -o sea-vhost -g sea-vhost-control -m 0700 /var/lib/sea-vhost
install -d -o sea-vhost-panel -g sea-vhost-panel-control -m 0700 /var/lib/sea-vhost-panel