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

5 lines
172 B
Bash
Executable File

#!/bin/sh
exec 2>&1
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