mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
yodaNas: pull docker images
This commit is contained in:
parent
ee8032e50c
commit
c91f217cc5
@ -86,7 +86,7 @@
|
||||
|
||||
# Shell commands executed as the service's main process.
|
||||
script = ''
|
||||
set -eu
|
||||
set -eu -o pipefail
|
||||
${pkgs.coreutils}/bin/echo "Hello World"
|
||||
'';
|
||||
};
|
||||
|
@ -108,6 +108,8 @@ in
|
||||
docker
|
||||
];
|
||||
script = ''
|
||||
set -eu -o pipefail
|
||||
/mnt/data/docker-compose/docker-compose pull
|
||||
/mnt/data/docker-compose/docker-compose up -d --wait
|
||||
'';
|
||||
# Start after login.
|
||||
|
Loading…
Reference in New Issue
Block a user