| [Unit]
|
| Description: Send umount command to nfs & sshfs shares dependent on this server prior to losing network
|
| Requires=network-online.target
|
| After=network-online.target
|
|
|
| [Service]
|
| Type=oneshot
|
| RemainAfterExit=true
|
| ExecStop=/usr/local/bin/umountsshnfs.sh
|
| User=bvargo
|
|
|
| [Install]
|
| WantedBy=multi-user.target
|