diff options
author | Łukasz Mariański | 2021-01-06 11:07:21 +0100 |
---|---|---|
committer | Łukasz Mariański | 2021-01-06 11:07:21 +0100 |
commit | 5949818034005a0c6687c9dc9e2577aca4e29df3 (patch) | |
tree | 54913a03fdc57cdd9bce9fb0c2084822e4073050 /lvmpolld.initd | |
download | aur-5949818034005a0c6687c9dc9e2577aca4e29df3.tar.gz |
Init:
Diffstat (limited to 'lvmpolld.initd')
-rw-r--r-- | lvmpolld.initd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lvmpolld.initd b/lvmpolld.initd new file mode 100644 index 000000000000..72f75141e5eb --- /dev/null +++ b/lvmpolld.initd @@ -0,0 +1,17 @@ +#!/usr/bin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +pidfile="/run/lvmpolld.pid" +command="/usr/bin/lvmpolld" +command_args="${LVMPOLLD_OPTS:=-p ${pidfile}}" +start_stop_daemon_args="--pidfile ${pidfile}" + +depend() { + : +} + +start_pre() +{ + checkpath --directory /run/lvm || return 1 +} |