mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +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.
|
# 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"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user