12a2d52b057ba37b1eea0ad85ba111d7460cf961
Colored output for text only steps
shell_sequencer
Shell script as wrapper for sequential tasks, such as complex server installations or recurring maintenance tasks.
The sequence script (seq) containing different steps is separated from the sequence control (sequencer.sh). The seq just needs to "include" the sequencer.sh at the end.
sequencer.sh
Main sequencer script to be included at the end of a seq.
seqs/
Contains sequences (seqs) for different tools, servers or occasions.
Sequencer include working on sh and bash.
[...]
. /usr/local/bin/sequencer.sh
see seqTemplateExample.sh (which can be generated when calling sequencer.sh directly)
Installation recommendation
To make all seqs avaialable to all user, follow the procedure below.
Run folloing commands as root:
git clone https://winklerfamilie.eu/git/efelon/shell_sequencer.git /opt/sequencer
ln -s /opt/sequencer/sequencer/sequencer.sh /usr/local/bin
ln -s /opt/sequencer/seqs /opt
or
use the simple bash installation script in the repository:
curl -L https://winklerfamilie.eu/git/efelon/shell_sequencer/raw/branch/master/install.sh | bash
1.0.0
Latest
Languages
Shell
100%