4b4b0531c7e5efba4e8caf7b97a43ac287ccddc4
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
1.0.0
Latest
Languages
Shell
100%