From 11d0afceadd7b54b2eb99e288d1533968a31293c Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Wed, 21 Feb 2024 10:40:40 +0100 Subject: [PATCH] Add machines-start to install script and README --- README.md | 1 + install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 3c2ab8b..b3fdff1 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ All running Nspawn containers are stopped, snapshoted (using Btrfs subvolumes) a * `variables.conf.template` contains examples variables definitions, and should be copied locally to `variables.conf` (with any required modifications). * `systemd-templates/` contains Systemd units templates for running the scripts unattended. + * specifically, `machines-start.timer` is a daily permanent trigger to start all enabled containers. #### Installation * `install.sh` script copies Systemd templates to their destination, and enables conts-snap and docker-upgrade timer. diff --git a/install.sh b/install.sh index a98fb36..8d985cd 100755 --- a/install.sh +++ b/install.sh @@ -31,6 +31,7 @@ echo "Reloading Systemd..." $sudo systemctl daemon-reload echo "Enabling timer(s) (not starting it, either do it manually or reboot)..." $sudo systemctl enable conts-snap.timer +$sudo systemctl enable machines-start.timer if [ $docker -eq 1 ]; then $sudo systemctl enable docker-upgrade.timer fi