diff --git a/examples/systemd-timer-example.nix b/examples/systemd-timer-example.nix index 24e4efb..1064cde 100644 --- a/examples/systemd-timer-example.nix +++ b/examples/systemd-timer-example.nix @@ -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" ''; }; diff --git a/hosts/yodaNas/host-specific.nix b/hosts/yodaNas/host-specific.nix index b808e8a..b7338db 100644 --- a/hosts/yodaNas/host-specific.nix +++ b/hosts/yodaNas/host-specific.nix @@ -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.