File: irqbalance.service

package info (click to toggle)
irqbalance 1.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 552 kB
  • sloc: ansic: 4,770; sh: 174; makefile: 43
file content (25 lines) | stat: -rw-r--r-- 829 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[Unit]
Description=irqbalance daemon
Documentation=man:irqbalance(1)
Documentation=https://github.com/Irqbalance/irqbalance
ConditionVirtualization=!container

[Service]
EnvironmentFile=-/etc/default/irqbalance
ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
CapabilityBoundingSet=
NoNewPrivileges=yes
ReadOnlyPaths=/
ReadWritePaths=/proc/irq /run
RestrictAddressFamilies=AF_UNIX
# irqbalance needs /run read-write to be able to create /run/irqbalanceN.sock
# (or it'll fall back on abstract sockets), but putting it on a separate
# tmpfs also makes it inaccessible to irqbalance-ui so disable it for now.
#TemporaryFileSystem=/run

# If IRQBALANCE_ONESHOT environment is set, the service will exit so:
Restart=no
# (The above case would be better as a real Type=oneshot unit.)

[Install]
WantedBy=multi-user.target