|
Bogdan Timofte
authored
3 months ago
|
1
|
[Unit]
|
|
|
2
|
Description=AutoNAS Main Service - Automatic disk mounting and NFS export system
|
|
|
3
|
Documentation=file:///usr/local/share/doc/autonas/README.md
|
|
|
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
|
|
|
9
|
RequiredBy=autonas-boot-scan.service
|
|
|
10
|
|
|
|
11
|
[Service]
|
|
|
12
|
Type=oneshot
|
|
|
13
|
RemainAfterExit=yes
|
|
|
14
|
ExecStart=/bin/true
|
|
|
15
|
ExecReload=/usr/local/bin/autonas-disk-handler.sh reload
|
|
|
16
|
StandardOutput=journal
|
|
|
17
|
StandardError=journal
|
|
|
18
|
|
|
|
19
|
[Install]
|
|
|
20
|
WantedBy=multi-user.target
|