armbian-build/packages/bsp/common/lib/systemd/system/armbian-firstrun.service
Alex bb5fd2ab03
RFC: fix #6686: Debian: enable ssh.service and make it work reliably on armbian-firstrun (#6687)
* Revert commits 911c756083 and 30c47f6f6c

* tweak armbian-firstrun.service to run after ssh.service (for host keys generation purposes)
2024-06-05 15:20:34 +02:00

19 lines
405 B
Desktop File

# Armbian firstrun service
# Regenerates the SSH keys and performs additional first run tweaks
# This service will run in parallel with other services
[Unit]
Description=Armbian first run tasks
Before=getty.target system-getty.slice
After=ssh.service
[Service]
Type=simple
RemainAfterExit=yes
ExecStart=/usr/lib/armbian/armbian-firstrun start
TimeoutStartSec=2min
[Install]
WantedBy=multi-user.target