summaryrefslogtreecommitdiff
path: root/nonsystemd/sane-openrc/saned.initd
blob: f7be87f3eba351f55a2c027238f669c3a5c9e1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

supervisor="supervise-daemon"
pidfile="/run/saned.pid"
command="/usr/bin/saned"
# command_args="-a ${SANED_USER:-root}"
command_args="${SANED_USER:-root}"

start_pre() {
    checkpath -d -o ${SANED_USER:-root} ${pidfile%/*}
}