Skip to content

Instantly share code, notes, and snippets.

@xavier83
Created January 9, 2016 09:45
Afuse Systemd Unitfile
[Unit]
Description=Afuse daemon
After=network.target
[Service]
ExecStart=/usr/bin/afuse -f -o mount_template='sshfs -o ServerAliveInterval=10 -o reconnect %%r:/ %%m' -o unmount_template='fusermount -u -z %%m' %h/.mnt/ssh
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment