s/pbsbanner/proxmox-backup-banner/ + move to /usr/lib
We want to avoid pbs if possible and also avoid placing internal binaries, not intended for human direct use, in /bin or /sbin paths. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
include ../defines.mk
|
||||
|
||||
UNITS := \
|
||||
pbsbanner.service \
|
||||
UNITS :=
|
||||
|
||||
DYNAMIC_UNITS := \
|
||||
proxmox-backup-banner.service \
|
||||
proxmox-backup.service \
|
||||
proxmox-backup-proxy.service
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
[Unit]
|
||||
Description=Proxmox Backup Server Login Banner
|
||||
ConditionPathExists=/usr/sbin/pbsbanner
|
||||
ConditionPathExists=%LIBEXECDIR%/proxmox-backup/proxmox-backup-banner
|
||||
ConditionPathExists=!/usr/bin/pvebanner
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target
|
||||
Before=console-getty.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/pbsbanner
|
||||
ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-banner
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
|
Reference in New Issue
Block a user