[Unit]
Description=Proxmox First Boot Setup (Fully Booted)
After=systemd-remount-fs.service pveproxy.service pmgproxy.service proxmox-backup-proxy.service
Wants=pveproxy.service pmgproxy.service proxmox-backup-proxy.service
ConditionPathExists=/var/lib/proxmox-first-boot/pending-first-boot-setup
ConditionPathIsReadWrite=/var/lib

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/var/lib/proxmox-first-boot/proxmox-first-boot fully-up
ExecStartPost=/usr/bin/rm -v /var/lib/proxmox-first-boot/pending-first-boot-setup

[Install]
Alias=proxmox-first-boot.service
WantedBy=multi-user.target
