autoNAS / config / autonas.service
Newer Older
24 lines | 0.741kb
Bogdan Timofte authored 3 months ago
1
[Unit]
2
Description=AutoNAS Main Service - Automatic disk mounting and NFS export system
Bogdan Timofte authored 2 weeks ago
3
Documentation=file:///usr/local/share/doc/xdev/autonas/README.md
Bogdan Timofte authored 3 months ago
4
After=local-fs.target
5
After=systemd-udev-settle.service
6
After=network.target
7
After=nfs-kernel-server.service
8
Wants=nfs-kernel-server.service
Bogdan Timofte authored 3 months ago
9
# Keep the AutoNAS/NFS provider side alive until Proxmox had a chance to
10
# unmount remote filesystems that depend on these exports during shutdown.
11
Before=remote-fs.target
12
Before=umount.target
Bogdan Timofte authored 3 months ago
13
RequiredBy=autonas-boot-scan.service
14

            
15
[Service]
16
Type=oneshot
17
RemainAfterExit=yes
18
ExecStart=/bin/true
Bogdan Timofte authored 2 weeks ago
19
ExecReload=/usr/local/lib/xdev/autonas/autonas-disk-handler.sh reload
Bogdan Timofte authored 3 months ago
20
StandardOutput=journal
21
StandardError=journal
22

            
23
[Install]
Bogdan Timofte authored 2 weeks ago
24
WantedBy=multi-user.target