Add machines-start to install script and README
This commit is contained in:
parent
db1c347c8a
commit
11d0afcead
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user