mirror of
https://github.com/Zygo/bees.git
synced 2025-06-17 01:56:16 +02:00
Makefile add scripts target for correctly packaging
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>
This commit is contained in:
24
scripts/beesd@.service.in
Normal file
24
scripts/beesd@.service.in
Normal file
@ -0,0 +1,24 @@
|
||||
[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
|
Reference in New Issue
Block a user