stratis-storage: add related packages
This commit is contained in:
19
sys-fs/stratisd/files/init.d.stratisd-r1
Normal file
19
sys-fs/stratisd/files/init.d.stratisd-r1
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2019 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
: "${rundir:=/run}"
|
||||
: "${stdout:=/var/log/stratisd.log}"
|
||||
: "${stderr:=/var/log/stratisd.log}"
|
||||
|
||||
command="/usr/libexec/stratisd"
|
||||
command_args="--debug"
|
||||
command_background=true
|
||||
pidfile=${pidfile:-${rundir}/stratisd.pid}
|
||||
description="Stratis is a Linux local storage management tool that aims to enable easy use of advanced storage features such as thin provisioning, snapshots, and pool-based management and monitoring"
|
||||
description_start="Start stratis daemon"
|
||||
description_stop="Stop stratis daemon"
|
||||
|
||||
depend() {
|
||||
need sysfs
|
||||
}
|
||||
Reference in New Issue
Block a user