yodaNas: pull docker images

This commit is contained in:
Daniel Langbein 2023-10-08 15:38:44 +02:00
parent ee8032e50c
commit c91f217cc5
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,7 @@
# Shell commands executed as the service's main process. # Shell commands executed as the service's main process.
script = '' script = ''
set -eu set -eu -o pipefail
${pkgs.coreutils}/bin/echo "Hello World" ${pkgs.coreutils}/bin/echo "Hello World"
''; '';
}; };

View File

@ -108,6 +108,8 @@ in
docker docker
]; ];
script = '' script = ''
set -eu -o pipefail
/mnt/data/docker-compose/docker-compose pull
/mnt/data/docker-compose/docker-compose up -d --wait /mnt/data/docker-compose/docker-compose up -d --wait
''; '';
# Start after login. # Start after login.