blob: dd89fcd6f19ba634278feb229a15511051732f88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/sbin/openrc-run
command="/usr/bin/conduit"
command_user="conduit:conduit"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
output_log="/var/log/conduit.log"
error_log="/var/log/conduit.log"
depend() {
need net
}
start_pre() {
checkpath -d -m 0755 -o "$command_user" /var/lib/conduit
checkpath -f -m 0644 -o "$command_user" "$output_log"
}
|