mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 13:55:44 +02:00
Currently scheme lead to path like: /tmp/makepkg/bees-git/pkg/bees-git/usr/lib/bees/bees While packaging, so allow do: make make scripts make install ... make install_scripts ... Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
25 lines
462 B
SYSTEMD
25 lines
462 B
SYSTEMD
[Unit]
|
|
Description=Bees - Best-Effort Extent-Same, a btrfs deduplicator daemon: %i
|
|
After=local-fs.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/sbin/beesd %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=local-fs.target
|