diff --git a/playbooks/sshfs.service.j2 b/playbooks/sshfs.service.j2 index f03d39b..e88345e 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 allow_root {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} ExecStop=/usr/bin/umount "{{[ localpath,item,'/']|join() }}" RestartSec=20 Restart=on-failure