From 29a15ed284e317012b6842b7519f417943a76173 Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Fri, 30 Sep 2022 06:55:26 -0400 Subject: [PATCH] working on systemd now --- playbooks/sshfs.service.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/sshfs.service.j2 b/playbooks/sshfs.service.j2 index 586aacd..5b87c64 100644 --- a/playbooks/sshfs.service.j2 +++ b/playbooks/sshfs.service.j2 @@ -4,6 +4,8 @@ After=network.target sound.target [Service] Type=simple +User=sshfs +Group=www-data ExecStart=/usr/bin/sshfs -p "{{sshfsport }}" -o allow_root "{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}" Restart=on-failure