From 5310e8adc9cb36b7fcbb81fd9fff1b1d45538f38 Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Sat, 1 Oct 2022 04:41:04 -0400 Subject: [PATCH] working on changes, and debugging --- playbooks/sshfs.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/sshfs.service.j2 b/playbooks/sshfs.service.j2 index e88345e..1b6215b 100644 --- a/playbooks/sshfs.service.j2 +++ b/playbooks/sshfs.service.j2 @@ -12,7 +12,7 @@ WantedBy=default.target Type=exec User=sshfs Group=www-data -ExecStart=/usr/bin/sshfs -p {{sshfsport }} -o allow_root {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} +ExecStart=/usr/bin/sshfs -p {{sshfsport }} -o rw,allow_other,idmap=user,uid=1000,gid=1000,ServerAliveInterval=10,ServerAliveCountMax=1,_netdev {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} ExecStop=/usr/bin/umount "{{[ localpath,item,'/']|join() }}" RestartSec=20 Restart=on-failure