autoNAS / config / autonas-boot-scan.service
Newer Older
5b5a565 3 months ago History
18 lines | 0.414kb
Bogdan Timofte authored 3 months ago
1
[Unit]
2
Description=AutoNAS Boot Scanner - Detect and attach configured disks at boot
3
After=local-fs.target
4
After=systemd-udev-settle.service
5
After=network.target
6
After=nfs-kernel-server.service
7
Wants=nfs-kernel-server.service
8

            
9
[Service]
10
Type=oneshot
11
ExecStart=/usr/local/bin/autonas-boot-scan.sh
12
RemainAfterExit=yes
13
TimeoutSec=300
14
StandardOutput=journal
15
StandardError=journal
16

            
17
[Install]
18
WantedBy=multi-user.target