Add configurable bindir for distros without sbin

Adds a `BINDIR` Make variable, defaulting to `sbin`, allowing packagers
to override the install location of `beesd` for systems that do not use
`/sbin`.  This affects the install path and systemd unit template.
Dieser Commit ist enthalten in:
Kyle Gospodnetich verfasst und Zygo Blaxell committed 2025-07-04 19:44:35 -04:00
1 Ursprung ee5c971d77
Commit f9f3913c8b
3 Dateien geändert
+4 -2

Keine Dateien entsprechen Ihrer Suche

+1 -1
Datei anzeigen
@@ -5,7 +5,7 @@ After=sysinit.target
[Service]
Type=simple
ExecStart=@PREFIX@/sbin/beesd --no-timestamps %i
ExecStart=@PREFIX@/@BINDIR@/beesd --no-timestamps %i
CPUAccounting=true
CPUSchedulingPolicy=batch
CPUWeight=12