autoNAS / config / autonas-boot-scan.service
5b5a565 3 months ago History
1 contributor
18 lines | 0.414kb
[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

[Service]
Type=oneshot
ExecStart=/usr/local/bin/autonas-boot-scan.sh
RemainAfterExit=yes
TimeoutSec=300
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target