Clean up lockfiles and pidfiles on reboot (Fox, Saga, naic-monitor) #352
Labels
component:infra
Shell scripts, cron scripts, web server, etc
task:enhancement
New feature or request
Milestone
Lifted from #57:
Lockfile removal: ~sonar is /var/run/sonar on compute and gpu nodes, and this would work just fine. But on int and login it is /home/sonar - not fine. Have petitioned to change homedir to /var/run/sonar on int and login and then just change the script from using /var/tmp to using /var/run/sonar for lockfiles.
Edit: Discussion with fox admins: We'll move the homedir on the int and login nodes, it was always the intention that it should have been /var/run/sonar, and if new nodes are created they will get that too.
Edit^2: Except then we need a service to create /var/run/sonar on boot, probably, one can do something via tmpfiles.d(5) but it's becoming fairly elaborate, esp if we want to move toward making sonar a systemd service anyway.
The text was updated successfully, but these errors were encountered: