infrastructure/ansible/plays/templates/mount-storagebox.mount.j2

15 lines
434 B
Django/Jinja

[Unit]
Description=Mount storagebox with sshfs
After=network-online.target
Wants=network-online.target
[Install]
WantedBy=default.target
[Mount]
What=u309229-sub6@u309229.your-storagebox.de:
Where=/var/home/backup/storagebox
Type=fuse.sshfs
Options=_netdev,reconnect,uid=1000,gid=1000,delay_connect,ServerAliveInterval=30,ServerAliveCountMax=5,x-systemd.automount,Port=23,IdentityFile=/var/home/backup/.ssh/storagebox
TimeoutSec=60