anithra wrote:
Options:
* --install -i Install the tapset rpm.
* --run -r Runs the scripts
for n minutes where n can be passed as a parameter. o The default value
is 10 minutes. Post processing is performed after the script completes.
* --start -s Invokes the script as a background process.
* --stop -x Stops the script and performs post processing.
* --uninstall -u Stops the script if running and uninstalls the rpm.
* --all Installs the rpm, runs the scrip, processes the output and
uninstalls the rpm.
* --help Displays this usage text.
It seems odd to have the file created by the framework-script to both
manage installation as well as execution of the compiled systemtap
materials. Why install if it can be run directly? If installed, how
else to execute the systemtap module except via this file?
Perhaps the stap-buildrpm widget should create a plain rpm that is
self-explanatory to install, within which a /usr/bin/FOO shell script
manage the execution of the script.
It may be nice if stap-buildrpm interfaced with stap-initscripts, so
that rpms produced this way were easily activatable from that scheme.
- FChE