1 contributor
[Unit]
Description=AutoNAS Boot Scanner - Detect and attach configured disks at boot
After=local-fs.target
After=systemd-udev-settle.service
After=network.target
After=nfs-kernel-server.service
Wants=nfs-kernel-server.service
# Mirror the main AutoNAS service ordering so the active boot-scan oneshot does
# not let NFS exports stop before remote filesystem unmount finishes.
Before=remote-fs.target
Before=umount.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/autonas-boot-scan.sh
RemainAfterExit=yes
TimeoutSec=300
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target