mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
f7da04caea
Redesign addVisitor four-phase flow: - Phase1: ALWAYS query person detail (orgIds for policy lookup) - Phase2: candidate = caller floors or org floorList - Phase3: ALWAYS check policy; intersect candidate with allow - Phase4: empty set validation Fixes UC-02 bypass: policy was entirely skipped when caller provided floorIds. Now policy always constrains. Bump v2.0.19
24 lines
777 B
Desktop File
24 lines
777 B
Desktop File
[Unit]
|
|
Description=cw-elevator-application 2.0.19 (Maven V2 fat jar)
|
|
After=network.target remote-fs.target nss-lookup.target
|
|
|
|
[Service]
|
|
# 将 WorkingDirectory、ExecStart、ExecStop 中的路径占位改为实际部署绝对路径(与 JAR、start.sh、properties 同目录)。
|
|
PIDFile=/run/cw-elevator-application-2.0.19.pid
|
|
ExecStartPre=/bin/rm -f /run/cw-elevator-application-2.0.19.pid
|
|
ExecStart=/bin/bash /path/to/cw-elevator-application/start.sh
|
|
ExecStop=/bin/bash /path/to/cw-elevator-application/stop.sh
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
KillSignal=SIGQUIT
|
|
TimeoutStopSec=5
|
|
KillMode=process
|
|
PrivateTmp=true
|
|
Restart=always
|
|
RestartSec=10
|
|
StandardOutput=null
|
|
StandardError=null
|
|
WorkingDirectory=/path/to/cw-elevator-application
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|