aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix/files/zabbix_agent.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/zabbix/files/zabbix_agent.sh.in')
-rw-r--r--net-mgmt/zabbix/files/zabbix_agent.sh.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-mgmt/zabbix/files/zabbix_agent.sh.in b/net-mgmt/zabbix/files/zabbix_agent.sh.in
new file mode 100644
index 000000000000..3d6b3f081e1d
--- /dev/null
+++ b/net-mgmt/zabbix/files/zabbix_agent.sh.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+. %%RC_SUBR%%
+
+name="zabbix_agentd"
+rcvar=`set_rcvar`
+command="${prefix}/bin/${name}"
+required_files="/etc/zabbix/${name}.conf"
+
+run_rc_command "$1"