build/scripts/resize2fs.service
zador-blood-stained fa2f0c1ad1 Small correction
2017-01-19 14:59:46 +03:00

18 lines
426 B
Desktop File

# Armbian resize2fs service
# Resizes partition and filesystem on first/second boot
# This service may block the boot process for up to 5 minutes
[Unit]
Description=Armbian filesystem resize service
Before=basic.target
After=sysinit.target local-fs.target
DefaultDependencies=no
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash /etc/init.d/resize2fs start
TimeoutStartSec=5min
[Install]
WantedBy=basic.target