Syncthing as a service - restart parameters

I’ve been running ST as a service for quite a long while, and noticed that there are recommended restart parameters in the docs (section 12) that i didn’t use before. So I went through the docs again to set it up more properly.

It sees however that AppExit 3 and AppExit 4 have a peculiar response:

C:\Program Files\Syncthing-Service\nssm\win64>nssm set syncthing AppExit Default Exit
Set parameter "AppExit" for service "syncthing".

C:\Program Files\Syncthing-Service\nssm\win64>nssm set syncthing AppExit 0 Exit
Set parameter "AppExit" for service "syncthing".

C:\Program Files\Syncthing-Service\nssm\win64>nssm set syncthing AppExit 3 Restart
Reset parameter "AppExit" for service "syncthing" to its default.

C:\Program Files\Syncthing-Service\nssm\win64>nssm set syncthing AppExit 4 Restart
Reset parameter "AppExit" for service "syncthing" to its default.

First two seem to apply correctly but last two seem to revert to default… Or are they?

Anyways, i’m not very knowledgeable in this area, so I’d be glad if someone who is can confirm that those settings are correct or propose any changes to get it right.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.