supabase-postgres.git / summary / log / commit / refs

commit    ab4efe6278e29be533f23c33ce7436fc0d99ac15
Author:   Div Arora <root@darora.com>
Commit:   Div Arora <darora@users.noreply.github.com>
Date:     Mon Aug 12 01:38:51 2024 +0000

    chore: disable salt-minion for first boot


ansible/tasks/internal/optimizations.yml | 2 ++ ebssurrogate/scripts/surrogate-bootstrap-nix.sh | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ansible/tasks/internal/optimizations.yml b/ansible/tasks/internal/optimizations.yml index 157c3512..42a0a247 100644 --- a/ansible/tasks/internal/optimizations.yml +++ b/ansible/tasks/internal/optimizations.yml @@ -10,6 +10,7 @@ - motd-news - vector - lvm2-monitor + - salt-minion when: debpkg_mode - name: ensure services are stopped and disabled for first boot nix build @@ -23,6 +24,7 @@ - fail2ban - motd-news - vector + - salt-minion when: stage2_nix - name: disable man-db diff --git a/ebssurrogate/scripts/surrogate-bootstrap-nix.sh b/ebssurrogate/scripts/surrogate-bootstrap-nix.sh index 5bb021d9..45cbc8ac 100755 --- a/ebssurrogate/scripts/surrogate-bootstrap-nix.sh +++ b/ebssurrogate/scripts/surrogate-bootstrap-nix.sh @@ -223,11 +223,10 @@ function update_systemd_services { rm -f /mnt/etc/systemd/system/multi-user.target.wants/vector.service ln -s /etc/systemd/system/vector.timer /mnt/etc/systemd/system/multi-user.target.wants/vector.timer - # Disable apparmor during first boot + # Disable services during first boot. rm -f /mnt/etc/systemd/system/sysinit.target.wants/apparmor.service - - # Disable postgresql service during first boot. rm -f /mnt/etc/systemd/system/multi-user.target.wants/postgresql.service + rm -f /mnt/etc/systemd/system/multi-user.target.wants/salt-minion.service # Disable auditd rm -f /mnt/etc/systemd/system/multi-user.target.wants/auditd.service [parent: a46d236c686a]