mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Replace CPU shares and IO block weight by CPU weight and IO weight. Note that new parameters are roughly 1/100 of old one--I believe that's the right conversion. Also removed duplicate Nice parameter and alphabetized the parameters for ease of reading.
25 lines
445 B
SYSTEMD
25 lines
445 B
SYSTEMD
[Unit]
|
|
Description=Bees (%i)
|
|
Documentation=https://github.com/Zygo/bees
|
|
After=sysinit.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=@PREFIX@/sbin/beesd --no-timestamps %i
|
|
CPUAccounting=true
|
|
CPUSchedulingPolicy=batch
|
|
CPUWeight=12
|
|
IOSchedulingClass=idle
|
|
IOSchedulingPriority=7
|
|
IOWeight=10
|
|
KillMode=control-group
|
|
KillSignal=SIGTERM
|
|
MemoryAccounting=true
|
|
Nice=19
|
|
Restart=on-abnormal
|
|
StartupCPUWeight=25
|
|
StartupIOWeight=25
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|