소스 검색

zabbix disabling rsync & timesyncd systemd units

Bachir Soussi Chiadmi 5 년 전
부모
커밋
3eb1a34c19
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      bin/zabbix.sh

+ 4 - 0
bin/zabbix.sh

@@ -97,6 +97,10 @@ fi
 # https://github.com/MogiePete/zabbix-systemd-service-monitoring
 cp "$_assets"/zabbix/userparameter_systemd_services.conf "$_agent_conf_d"/
 
+# disble unused system units
+systemctl disable rsync
+systemctl disable systemd-timesyncd
+
 # TODO add modules path to agent ??
 
 # allow comm. port with zabbix-server