diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyos-salt-minion.postinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/vyos-salt-minion.postinst b/debian/vyos-salt-minion.postinst index 42e232c..a427c3c 100644 --- a/debian/vyos-salt-minion.postinst +++ b/debian/vyos-salt-minion.postinst @@ -1,8 +1,8 @@ #!/bin/sh -e -if deb-systemd-helper --quiet was-enabled salt-minion.service; then +if ! deb-systemd-helper --quiet was-enabled salt-minion.service; then # Enables the unit on first installation, creates new # symlinks on upgrades if the unit file has changed. - deb-systemd-helper enable salt-minion.service >/dev/null || true + deb-systemd-helper disable salt-minion.service >/dev/null || true fi if [ -x "/etc/init.d/salt-minion" ]; then |