mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
systemd service replace deprecated parameters
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.
This commit is contained in:
parent
aa74a238b3
commit
8bec9624da
@ -6,20 +6,19 @@ After=sysinit.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=@PREFIX@/sbin/beesd --no-timestamps %i
|
ExecStart=@PREFIX@/sbin/beesd --no-timestamps %i
|
||||||
Nice=19
|
CPUAccounting=true
|
||||||
KillMode=control-group
|
CPUSchedulingPolicy=batch
|
||||||
KillSignal=SIGTERM
|
CPUWeight=12
|
||||||
CPUShares=128
|
|
||||||
StartupCPUShares=256
|
|
||||||
BlockIOWeight=100
|
|
||||||
StartupBlockIOWeight=250
|
|
||||||
IOSchedulingClass=idle
|
IOSchedulingClass=idle
|
||||||
IOSchedulingPriority=7
|
IOSchedulingPriority=7
|
||||||
CPUSchedulingPolicy=batch
|
IOWeight=10
|
||||||
|
KillMode=control-group
|
||||||
|
KillSignal=SIGTERM
|
||||||
|
MemoryAccounting=true
|
||||||
Nice=19
|
Nice=19
|
||||||
Restart=on-abnormal
|
Restart=on-abnormal
|
||||||
CPUAccounting=true
|
StartupCPUWeight=25
|
||||||
MemoryAccounting=true
|
StartupIOWeight=25
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=basic.target
|
WantedBy=basic.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user