killBIN - "safe" and shutdown instruments, and prepare for node shutdownSYNOPSIS
DESCRIPTIONkillBIN node [-bkqrs][-D quitDelaySec][-H haltDelaySec]
killBIN "gracefully" shuts down the specified node's SIAM instrument services (invoking 'safe' mode for those services that implement it), exits the SIAM application, and invokes then optional operations. Options and their defaults are as follows:
- b: enable backup batteries and holdup capacitors before quitting SIAM [false]
- k: keep controller on after exiting SIAM (do not halt controller) [false]
- q: quiet mode; do not notify parent node when shutting down [false]
- r: enable recursive shutdown (not implemented) [false]
- s: enable safe mode before quitting SIAM [false]
- -D: delay quitDelaySec before exiting SIAM [0]
- -H: delay haltDelaySec before halting controller [0]
EXAMPLES
backups enabled: NO
safemode: NO
shutdown SIAM app: YES
halt linux: YES
notify parent: NO% killBIN loc -q
backups enabled: NO
safemode: YES
shutdown SIAM app: YES
halt linux: YES
notify parent: NO
backups enabled: YES% killBIN loc -qs
safemode: NO
shutdown SIAM app: YES
halt linux: YES
notify parent: NO
% killBIN loc -qb
backups enabled: NO
safemode: NO
shutdown SIAM app: YES
halt linux: NO
notify parent: NO
% killBIN loc -qk
backups enabled: NO
safemode: NO
shutdown SIAM app: YES
halt linux: YES
notify parent: YES
% killBIN loc
ENVIRONMENT
The following environment variables must be set:
SEE ALSO
binBackups