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

6 lines
204 B
Bash
Executable File

#!/bin/sh
sv start mysqld >/dev/null || exit 1
install -d -m0750 -o _zabbix_server -g _zabbix_server /run/zabbix-server
chpst -u _zabbix_server:_zabbix_server zabbix_server -f -c /etc/zabbix_server.conf