...
If you make a change to the XML or a calibration file, you will usually want to restart the statsproc processes. Only if an XML change effects the archive of the raw data do you need to restart dsm_server on flux.
...
On porter2 the processes are running under the " maclean " login, and only that user has permission to restart the services. As a work-around, restart_statsproc writes a string to the file $ISFF/projects/$PROJECT/ISFF/logs/statsproc_cmd.txt. The proc_restarter service wakes up every 10 seconds, checks that file, and if it contains the string "statsproc", does a systemctl --user restart on the four statsproc services.
...