mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Since systemd prefix it's own timestamps, we can unconditionally remove timestamps when bees is executed by systemd. Signed-off-by: Kai Krakow <kai@kaishome.de>
26 lines
467 B
SYSTEMD
26 lines
467 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
|
|
Nice=19
|
|
KillMode=control-group
|
|
KillSignal=SIGTERM
|
|
CPUShares=128
|
|
StartupCPUShares=256
|
|
BlockIOWeight=100
|
|
StartupBlockIOWeight=250
|
|
IOSchedulingClass=idle
|
|
IOSchedulingPriority=7
|
|
CPUSchedulingPolicy=batch
|
|
Nice=19
|
|
Restart=on-abnormal
|
|
CPUAccounting=true
|
|
MemoryAccounting=true
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|