...
To restart the statsproc processes on flux or porter2, use the restart_statsproc command. On flux it does a systemctl --user restart on each of the two statsproc services.
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 "restartstatsproc", does a systemctl --user restart on the four statsproc services.
Reprocess statistics
...