diff options
author | zdc <zdc@users.noreply.github.com> | 2021-11-10 18:19:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 18:19:06 +0200 |
commit | e05bc2941a4164345630f40b0a5901f550fb62f6 (patch) | |
tree | ba73fed10f8de6f87c17f1345f9e2e79d1503849 | |
parent | ee81272116cd680fd3b35497739f82be144b33a5 (diff) | |
parent | 27d6d0983f953ff983f30fc9e656a33e6ef63d8f (diff) | |
download | vyos-build-e05bc2941a4164345630f40b0a5901f550fb62f6.tar.gz vyos-build-e05bc2941a4164345630f40b0a5901f550fb62f6.zip |
Merge pull request #201 from zdc/T3774-sagitta
atop: T3774: Disabled atop services
-rwxr-xr-x | data/live-build-config/hooks/live/18-enable-disable_services.chroot | 1 | ||||
-rwxr-xr-x | data/live-build-config/hooks/live/22-rm_cron_atop.chroot | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot index ee3b38bf..a67d8c2e 100755 --- a/data/live-build-config/hooks/live/18-enable-disable_services.chroot +++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot @@ -51,6 +51,7 @@ systemctl disable ndppd.service systemctl disable ipsec.service systemctl disable strongswan-starter.service systemctl disable avahi-daemon.service +systemctl disable atop-rotate.timer echo I: Enabling services systemctl enable ssh-session-cleanup.service diff --git a/data/live-build-config/hooks/live/22-rm_cron_atop.chroot b/data/live-build-config/hooks/live/22-rm_cron_atop.chroot new file mode 100755 index 00000000..7f77e1f7 --- /dev/null +++ b/data/live-build-config/hooks/live/22-rm_cron_atop.chroot @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ -f /etc/cron.d/atop ]; then + rm -f /etc/cron.d/atop +fi + |