Last active
January 16, 2020 16:17
-
-
Save yspb/86b0386c40ec51d1e92ac4a20cf4bd35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=sshfs service script | |
Requires=network-online.target network.target | |
After=network-online.service network.target | |
[Install] | |
WantedBy=multi-user.target | |
[Service] | |
Type=simple | |
User=root | |
Group=root | |
ExecStart=/usr/bin/sshfs -f root@node-1:/storage /storage | |
ExecStopPost=/bin/fusermount -u /storage | |
Restart=on-failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment