ahayzen / nix-config

1 stars 0 forks source link

Every docker-compose change causes all containers to restart #520

Closed ahayzen closed 1 day ago

ahayzen commented 1 week ago

Is this because the docker-compose --file paths are in the nix store and change ? Or is something else causing this ?

ahayzen commented 1 day ago

What seems to be happening is that nixos-upgrade is deciding to stop and start the service as the ExecStart/ExecStop/ExecReload lines all contain the hashed file paths so the actual service file updates. (Along with the X-Reload-Triggers).

Changing these to be symlinks via /etc may solve this?