mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2024-12-22 13:34:16 +03:00
b69b8af26b
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>
16 lines
375 B
SYSTEMD
16 lines
375 B
SYSTEMD
[Unit]
|
|
Description=Proxmox Backup Server Login Banner
|
|
ConditionPathExists=%LIBEXECDIR%/proxmox-backup/proxmox-backup-banner
|
|
ConditionPathExists=!/usr/bin/pvebanner
|
|
DefaultDependencies=no
|
|
After=local-fs.target
|
|
Before=console-getty.service
|
|
|
|
[Service]
|
|
ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-banner
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=getty.target
|