From 1b185276ecf9638c1f177c32d2d63dff7eff8340 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Wed, 5 Feb 2025 12:18:09 +0100 Subject: [PATCH] updated the service configuration and fixed start command --- ansible/roles/syncthing/files/syncthing.service | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ansible/roles/syncthing/files/syncthing.service b/ansible/roles/syncthing/files/syncthing.service index 9c8e203..38574f2 100644 --- a/ansible/roles/syncthing/files/syncthing.service +++ b/ansible/roles/syncthing/files/syncthing.service @@ -4,10 +4,8 @@ Documentation=https://docs.syncthing.net/ After=network.target [Service] -ExecStart=/usr/bin/syncthing serve --no-browser --no-restart --no-upgrades +ExecStart=/usr/bin/syncthing serve --no-browser --no-restart --no-upgrade Restart=on-failure -SuccessExitStatus=3 4 -RestartForceExitStatus=3 4 User=amin Group=amin