hi! i am in the process to create infrastructure for restarting services which configuration files changed in the current softupdate run.
currently i plan to set a flag (in an environment variable like RESTART_FOO). since different services have different restart/reload/whatnot commands i plan to put the restart/reload command INTO the variable like this: RESTART_FOO="/etc/init.d/FOO restart" In scripts/LAST/50-restart-services i would find all RESTART_* variables i defined in the softupdate run and would just eval them in a for loop. did someone build something similar? what are the cheavlets? is this the best way to do this? can it be done better? /andreas
