Ansible repo for digital ocean projects
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sshfs.service.j2 382 B

12345678910111213141516
  1. [Unit]
  2. Description=SSHFS Daemon
  3. After=network-online.target
  4. Wants=network-online.target
  5. [Install]
  6. WantedBy=default.target
  7. [Mount]
  8. Type=fuse.sshfs
  9. What={{ [username,'@',hostname,':',remotepath,item,'/' ]|join() }}
  10. Where={{[ localpath,item,'/']|join() }}
  11. Options=_netdev,reconnect,ServerAliveInterval=30,ServerAliveCountMax=5,x-systemd.automount
  12. TimeoutSec=120
  13. Restart=on-failure