4 ms·
I have shell script with bunch of common functions to simplify particular tasks and then main script that when ran installs all needed packages, creates / copi
by FpUser 3y ago
I have shell script with bunch of common functions to simplify particular tasks and then main script that when ran installs all needed packages, creates / copies various config files, pulls my C++ code from repo and builds my servers and installs those as daemons. It also installs cron jobs that execute backups / replication. It is smart enough to skip already performed steps and can safely run multiple times. It can run on Debian, Ubuntu, Arch and Mint.
It is fast and reliable and can deploy new infra and or restore state of that from backup. I use it for years without any problems.
- colordrops 3y agoThat is awesome and I'm glad it works for you. Nix does a lot of other things as well, and also has a large package repo and community around it.
- SuperSandro2000 3y agoLet me interrupt that in the middle and undo some steps by hand and it will probably fall on its nose. Nix can handle interruption in the middle of all build steps and can cleanly recover from them.