2019-07-07 22:25:39 +02:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
|
|
|
|
name="USBGuard Daemon"
|
|
|
|
description="Software framework for implementing USB device authorization policaies"
|
|
|
|
|
2019-10-26 12:52:56 +02:00
|
|
|
command="/usr/sbin/usbguard-daemon"
|
|
|
|
pidfile="/var/run/usbguard.pid"
|
2019-10-28 00:26:14 +01:00
|
|
|
command_args="-s -K -c /etc/usbguard/usbguard-daemon.conf ${usbguard_args}"
|
2019-10-26 12:52:56 +02:00
|
|
|
command_args_background="-f -p '$pidfile'"
|
|
|
|
|
2019-07-07 22:25:39 +02:00
|
|
|
depend() {
|
2019-10-28 00:26:14 +01:00
|
|
|
need udev logger
|
2019-07-07 22:25:39 +02:00
|
|
|
}
|