fix(bootstrap): 重跑只重启有变化的 Velocity、系统服与 PostgreSQL,无 firewalld 时用 nftables 收口 5432,PG 大版本不符拒绝启动

This commit is contained in:
Lemon-miaow committed 2026-09-25 00:06:47 +08:00
1 parent b1627e9ba0
commit aace66e8d3
4 files changed
+397 -11

No files matched your search

+8
View File
@@ -64,3 +64,11 @@ sourceSets {
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
// Byte-identical jars from identical sources. deploy/bootstrap.sh restarts the proxy only when
// a file it runs changed (velocity_fingerprint), and build-time timestamps in the jar would
// make every rebuild look like a change and disconnect every player on each rerun.
tasks.withType(AbstractArchiveTask).configureEach {
preserveFileTimestamps = false
reproducibleFileOrder = true
}