proxmox-backup/etc/proxmox-backup-banner.service.in

16 lines
375 B
SYSTEMD
Raw Normal View History

[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