Commit 2702f41
add remote-fs.target to tomcat_lk.service After= dependency
Fixes a race condition where tomcat_lk.service starts before the EFS
mount is ready after a system reboot. The nightly update script
(lk-ssm-update.sh) reboots the server after installing new binaries;
on boot, systemd was starting LabKey before the NFS/EFS mount at
/mnt/efs_volume was available, leaving the /labkey/labkey/files symlink
broken and causing LabKey to abort with "Invalid site root does not exist".
Adding remote-fs.target to After= ensures systemd waits for all _netdev
remote filesystem mounts before starting the service.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>1 parent e3d0881 commit 2702f41
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
1096 | | - | |
| 1096 | + | |
1097 | 1097 | | |
1098 | 1098 | | |
1099 | 1099 | | |
| |||
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
1227 | | - | |
| 1227 | + | |
1228 | 1228 | | |
1229 | 1229 | | |
1230 | 1230 | | |
| |||
0 commit comments