2020-01-06 18:01:55 +03:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
# Copyright 1999-2019 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
command="/usr/libexec/stratisd"
|
|
|
|
command_args="--debug"
|
|
|
|
command_background=true
|
2020-01-06 18:10:14 +03:00
|
|
|
output_log=/var/log/stratisd.log
|
|
|
|
error_log=/var/log/stratisd.log
|
|
|
|
pidfile=${pidfile:-/run/stratisd.pid}
|
2020-05-27 15:34:43 +03:00
|
|
|
description="Easy to use local storage management for Linux"
|
2020-01-06 18:01:55 +03:00
|
|
|
description_start="Start stratis daemon"
|
|
|
|
description_stop="Stop stratis daemon"
|
|
|
|
|
|
|
|
depend() {
|
2020-05-27 15:34:43 +03:00
|
|
|
need sysfs dev-settle
|
|
|
|
before fsck checkfs
|
|
|
|
after modules
|
2020-01-06 18:01:55 +03:00
|
|
|
}
|