1 2 3
#!/bin/bash codename='sid' salt -C "G@lsb_distrib_codename:${codename}" -b 1 cmd.run 'git -C /opt/diff-so-fancy pull; ionice -c3 nice -n 19 apt update && ionice -c3 nice -n 19 apt full-upgrade -d -y'