15 lines
391 B
Plaintext
15 lines
391 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
name="USBGuard Daemon"
|
|
description="Software framework for implementing USB device authorization policaies"
|
|
|
|
command="/usr/sbin/usbguard-daemon"
|
|
pidfile="/var/run/usbguard.pid"
|
|
logfile="/var/log/usbguard-daemon.log"
|
|
command_args="-l '$logfile' -c /etc/usbguard/usbguard-daemon.conf ${usbguard_args}"
|
|
command_args_background="-f -p '$pidfile'"
|
|
|
|
depend() {
|
|
need udev
|
|
}
|