diff --git a/playbooks/sshfs.service.j2 b/playbooks/sshfs.service.j2 index 0e3fb29..f03d39b 100644 --- a/playbooks/sshfs.service.j2 +++ b/playbooks/sshfs.service.j2 @@ -9,7 +9,7 @@ StartLimitBurst=10 WantedBy=default.target [Service] -Type=simple +Type=exec User=sshfs Group=www-data ExecStart=/usr/bin/sshfs -p "{{sshfsport }}" -o allow_root "{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}"