grub-btrfsd: Fix #211 for OpenRC-Daemon

This commit is contained in:
Pascal Jäger
2022-08-20 00:59:57 +02:00
parent 0182e11951
commit d54f3d7366
5 changed files with 69 additions and 18 deletions

View File

@@ -1,15 +1,13 @@
#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Copyright 2021 Pascal Jaeger
# Distributed under the terms of the GNU General Public License v3
name="grub-btrfs daemon"
command="/usr/bin/grub-btrfs-openrc"
command_args="${snapshots}"
command_args="${snapshots} ${timeshift_auto}"
pidfile="/run/{RC_SVCNAME}.pid"
command_background=true
depend() {
use localmount
}