sys-fs/stratisd: update init script
This commit is contained in:
19
sys-fs/stratisd/files/init.d.stratisd-r2
Normal file
19
sys-fs/stratisd/files/init.d.stratisd-r2
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
|
||||
|
||||
command="/usr/libexec/stratisd"
|
||||
command_args="--debug"
|
||||
command_background=true
|
||||
output_log=/var/log/stratisd.log
|
||||
error_log=/var/log/stratisd.log
|
||||
pidfile=${pidfile:-/run/stratisd.pid}
|
||||
description="Easy to use local storage management for Linux"
|
||||
description_start="Start stratis daemon"
|
||||
description_stop="Stop stratis daemon"
|
||||
|
||||
depend() {
|
||||
need sysfs dev-settle
|
||||
before fsck checkfs
|
||||
after modules
|
||||
}
|
||||
Reference in New Issue
Block a user