[Unit] Description=AutoNAS Main Service - Automatic disk mounting and NFS export system Documentation=file:///usr/local/share/doc/autonas/README.md After=local-fs.target After=systemd-udev-settle.service After=network.target After=nfs-kernel-server.service Wants=nfs-kernel-server.service # Keep the AutoNAS/NFS provider side alive until Proxmox had a chance to # unmount remote filesystems that depend on these exports during shutdown. Before=remote-fs.target Before=umount.target RequiredBy=autonas-boot-scan.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/bin/true ExecReload=/usr/local/bin/autonas-disk-handler.sh reload StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target