1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-06-19 06:57:54 +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.
Dieser Commit ist enthalten in:
rsjaffe
2018-11-05 12:35:17 -08:00
committet von GitHub
Ursprung aa74a238b3
Commit 8bec9624da
+9 -10
Datei anzeigen
@@ -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