Autodetect nice path
parent
53f91f0f9e
commit
57049acab3
|
|
@ -207,7 +207,7 @@ LOCKDIR="/run/lock/borgwrapper"
|
|||
STATUSDIR="/var/lib/borgwrapper/status"
|
||||
BWLIMIT=0
|
||||
USE_NICE=true
|
||||
NICE="/usr/bin/nice"
|
||||
NICE="$(command -v nice)"
|
||||
|
||||
while getopts ":c:dV" OPT; do
|
||||
case ${OPT} in
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ KEEP_YEARLY=5
|
|||
|
||||
# Use nice to reduce system performance impact from backups. Set to false to disable.
|
||||
#USE_NICE=true
|
||||
#NICE="/usr/bin/nice"
|
||||
|
||||
# Location of borgwrapper lock files
|
||||
#LOCKDIR="/run/lock/borgwrapper"
|
||||
|
|
|
|||
Loading…
Reference in New Issue