package/irqbalance: fix systemd startup script (add RuntimeDirectory)
authorPeter Seiderer <ps.report@gmx.net>
Sat, 20 Feb 2021 16:33:49 +0000 (17:33 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 20 Feb 2021 17:36:28 +0000 (18:36 +0100)
- add RuntimeDirectory=irqbalance to create /run/irqbalanace needed to
  create socket /run/irqbalance/irqbalance<pid>.sock

Fixes:

  - Bug 13541 [1]

  /usr/sbin/irqbalance[158]: Daemon couldn't be bound to the file-based socket.

[1] https://bugs.busybox.net/show_bug.cgi?id=13541

Reported-by: Alfredo Pons Menargues <alfredo.pons@gmail.com>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/irqbalance/irqbalance.service

index 9ba3be43bb94c2cb5a9eb20cf376d4041cd35a2c..39574877fb9ef2e83d4d7d2f2762c0c1ab03c7cd 100644 (file)
@@ -3,6 +3,7 @@ Description=irqbalance daemon
 After=syslog.target
 
 [Service]
+RuntimeDirectory=irqbalance
 ExecStart=/usr/sbin/irqbalance --foreground
 
 [Install]