void-packages/srcpkgs/zabbix/files/zabbix-agent/run

4 lines
162 B
Bash
Executable File

#!/bin/sh
install -d -m0750 -o _zabbix_agent -g _zabbix_agent /run/zabbix-agentd
chpst -u _zabbix_agent:_zabbix_agent zabbix_agentd -f -c /etc/zabbix_agentd.conf