Mirror von
https://github.com/tkuschel/bees.git
synchronisiert 2026-10-31 04:17:48 +01:00
Move bees to libexec install dir
When bees is meant to be run mainly through the service frontend script, we should move the bees binary to the libexec directory.
Dieser Commit ist enthalten in:
1 Ursprung
06b8fd8697
Commit
04cb25bd04
2 Dateien geändert
+3
-3
Keine Dateien entsprechen Ihrer Suche
+2
-2
@@ -21,7 +21,7 @@ readonly CONFIG_DIR=/etc/bees/
|
||||
[ "$UID" == "0" ] || ERRO "Must be runned as root"
|
||||
}
|
||||
|
||||
command -v bees &> /dev/null || ERRO "Missing 'bees' command"
|
||||
command -v /usr/libexec/bees &> /dev/null || ERRO "Missing 'bees' agent"
|
||||
|
||||
## Parse args
|
||||
UUID="$1"
|
||||
@@ -123,6 +123,6 @@ filter_path(){
|
||||
fi
|
||||
}
|
||||
|
||||
bees "$MNT_DIR" 3>&1 2>&1 | filter_time | filter_path
|
||||
/usr/libexec/bees "$MNT_DIR" 3>&1 2>&1 | filter_time | filter_path
|
||||
|
||||
exit 0
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren