diff options
Diffstat (limited to 'x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd-r2')
-rw-r--r-- | x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd-r2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd-r2 b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd-r2 new file mode 100644 index 000000000000..28ed19d4e846 --- /dev/null +++ b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd-r2 @@ -0,0 +1,15 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Daemon for radeon-profile GUI" + +command="/usr/sbin/radeon-profile-daemon" +command_background="true" +pidfile="/run/${SVCNAME}/${SVCNAME}.pid" + +radeon_socket="/run/${SVCNAME}/${SVCNAME}-server" + +start_pre() { + checkpath -q -d -o root:video -m 0750 /run/${SVCNAME} +} |