diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-12-14 17:48:13 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-12-14 18:17:37 +0100 |
commit | 64bc2dea286b22f4cce895ece50684affd6bf215 (patch) | |
tree | 1de744c29bcc39fdeb6c3d10515571094c466218 /dev-libs/libratbag/files | |
parent | app-misc/piper-0.5.1: New support package (diff) | |
download | gentoo-64bc2dea286b22f4cce895ece50684affd6bf215.tar.gz gentoo-64bc2dea286b22f4cce895ece50684affd6bf215.tar.bz2 gentoo-64bc2dea286b22f4cce895ece50684affd6bf215.zip |
dev-libs/libratbag: ebuild enhancements
- use systemd.eclass to determine systemunitdir
- Set plugdev group as the unix group that may access ratbagd via dbus
- (R)DEPEND on acct-group/plugdev
- Add openrc init script for ratbagd
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libratbag/files')
-rw-r--r-- | dev-libs/libratbag/files/ratbagd.init | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/libratbag/files/ratbagd.init b/dev-libs/libratbag/files/ratbagd.init new file mode 100644 index 000000000000..d3e7d08334ce --- /dev/null +++ b/dev-libs/libratbag/files/ratbagd.init @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="system daemon to introspect and modify configurable mice" +pidfile="/run/${SVCNAME}.pid" +command="/usr/bin/ratbagd" +start_stop_daemon_args="--quiet" +command_background="true" + +depend() { + need dbus +} |