1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-06-19 06:57:54 +02:00

Bees is meant to be run as root only

As bees is meant to be run as root only, move it to /usr/sbin which is
usually not part of normal users path environment.
Dieser Commit ist enthalten in:
Kai Krakow
2017-09-19 20:32:09 +02:00
Ursprung 04cb25bd04
Commit 5622ebd411
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
+1 -1
Datei anzeigen
@@ -18,7 +18,7 @@ readonly CONFIG_DIR=/etc/bees/
## Pre checks
{
[ ! -d "$CONFIG_DIR" ] && ERRO "Missing: $CONFIG_DIR"
[ "$UID" == "0" ] || ERRO "Must be runned as root"
[ "$UID" == "0" ] || ERRO "Must be run as root"
}
command -v /usr/libexec/bees &> /dev/null || ERRO "Missing 'bees' agent"