summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/usbguard/files')
-rwxr-xr-xsys-apps/usbguard/files/usbguard-0.7.6-usbguard-dbus.openrc12
-rwxr-xr-xsys-apps/usbguard/files/usbguard-0.7.6-usbguard.openrc12
2 files changed, 24 insertions, 0 deletions
diff --git a/sys-apps/usbguard/files/usbguard-0.7.6-usbguard-dbus.openrc b/sys-apps/usbguard/files/usbguard-0.7.6-usbguard-dbus.openrc
new file mode 100755
index 000000000000..2c923123c186
--- /dev/null
+++ b/sys-apps/usbguard/files/usbguard-0.7.6-usbguard-dbus.openrc
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/usbguard-dbus"
+command_args="--system"
+command_background="true"
+pidfile="/run/usbguard-dbus.pid"
+
+depend() {
+ need dbus usbguard
+}
diff --git a/sys-apps/usbguard/files/usbguard-0.7.6-usbguard.openrc b/sys-apps/usbguard/files/usbguard-0.7.6-usbguard.openrc
new file mode 100755
index 000000000000..3ea514cce169
--- /dev/null
+++ b/sys-apps/usbguard/files/usbguard-0.7.6-usbguard.openrc
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/usbguard-daemon"
+command_args="-k -c /etc/usbguard/usbguard-daemon.conf"
+command_background="true"
+pidfile="/run/usbguard.pid"
+
+depend() {
+ need udev localmount
+}