void-packages/srcpkgs/zabbix/files/zabbix-proxy/run
2018-06-12 22:59:20 -04:00

5 lines
223 B
Bash
Executable file

#!/bin/sh
chmod 0750 /var/run/zabbix-proxy /var/log/zabbix-proxy
chown _zabbix_proxy:_zabbix_proxy /var/run/zabbix-proxy /var/log/zabbix-proxy
chpst -u _zabbix_proxy:_zabbix_proxy zabbix_proxy -f -c /etc/zabbix_proxy.conf