You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
390 B
18 lines
390 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
pidfile="/run/lvmlockd.pid"
|
|
command="/sbin/lvmlockd"
|
|
command_args="${LVMLOCKD_OPTS:--p ${pidfile}} ${LVMLOCKD_TYPE:--g sanlock}"
|
|
start_stop_daemon_args="--pidfile ${pidfile}"
|
|
|
|
depend() {
|
|
before sanlock
|
|
}
|
|
|
|
start_pre()
|
|
{
|
|
checkpath --directory /run/lvm || return 1
|
|
}
|