Files
grub-btrfs/grub-btrfsd.initd
Sneed b5670caba5 fixed typo - added "$" to pidfile (#434)
Added "$" to {RC_SVCNAME} to ensure pid file is grub-btrfsd.pid and not "{RC_SVCNAME}.pid"
2026-05-30 14:13:41 +02:00

14 lines
306 B
Plaintext
Executable File

#!/sbin/openrc-run
# Copyright 2023 Pascal Jaeger
# Distributed under the terms of the GNU General Public License v3
name="grub-btrfs daemon"
command="/usr/bin/grub-btrfsd"
command_args="$optional_args ${snapshots}"
pidfile="/run/${RC_SVCNAME}.pid"
command_background=true
depend() {
use localmount
}