瀏覽代碼

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