projects/aports·blob master · refs

12 lines · 295 B

1#!/sbin/openrc-run
2
3name=$RC_SVCNAME
4cfgfile="/etc/$RC_SVCNAME/$RC_SVCNAME.yml"
5command="/usr/bin/zrepl"
6command_args=" --config /etc/zrepl/zrepl.yml daemon"
7pidfile="/run/$RC_SVCNAME/$RC_SVCNAME.pid"
8command_background="yes"
9
10start_pre() {
11 checkpath --directory --mode 0700 /run/$RC_SVCNAME
12}