Right, so since you know where you put syncthing.service
(and you must know, because you followed the guide and therefore manually put it in an appropriate place), why are you asking me?
You are right⌠sorry.
[Unit]
Description=Syncthing - Open Source Continuous File Synchronization for %I
Documentation=http://docs.syncthing.net/
After=network.target
[Service]
User=%i
Environment=STNORESTART=yes
ExecStart=/usr/bin/syncthing -no-browser -logflags=0
Restart=on-failure
SuccessExitStatus=2 3 4
RestartForceExitStatus=3 4
umask=0002
[Install]
WantedBy=multi-user.target
I put umask 0002 in but it hadnât any effect. I restarted syncthing but folders are still created with the wrong rights.
Itâs âUMaskâ, but I donât know that it makes any differenceâŚ
Its working now! Thanks! Wouldnât it be an idea to document this in the autostart section?
Not sure - we donât want to duplicate systemdâs documentation, but a little âbtw, you can set the UMaskâ probably wonât hurt.
1 Like
Be the good citizen and do it, given the time people invested to walk you through it.
done
1 Like