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