Martin Winkler 7a61dcd718 Refining initSeqConfig function
Option to choose if empty config should be created (Is not by default)
2020-06-04 15:19:17 +02:00
2020-06-04 15:19:17 +02:00
2019-03-28 23:53:31 +01:00

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
Description
Bash script as wrapper for sequential tasks.
Readme 3.9 MiB
1.0.0 Latest
2019-04-05 16:32:53 +02:00
Languages
Shell 100%