Files
gentoo/sys-apps/util-linux/files/uuidd.initd
Mike Gilbert 7ddfccad67 sys-apps/util-linux: init script tweaks
Set command_args_foreground="-FP".
Set command_user=uuidd.

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2024-05-20 13:34:32 -04:00

18 lines
380 B
Plaintext

#!/sbin/openrc-run
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command=/usr/sbin/uuidd
command_args_foreground="-FP"
command_user=uuidd
pidfile=/run/uuidd/uuidd.pid
depend() {
need clock localmount
}
start_pre() {
checkpath -d -m 2755 -o uuidd:uuidd /run/uuidd &&
checkpath -d -m 0755 -o uuidd:uuidd /var/lib/libuuid
}