diff --git a/utils/syncthing/files/syncthing.conf b/utils/syncthing/files/syncthing.conf index 193f5e9ea8bdb0..6c388cc871da13 100644 --- a/utils/syncthing/files/syncthing.conf +++ b/utils/syncthing/files/syncthing.conf @@ -24,7 +24,7 @@ config syncthing 'syncthing' # Running as 'root' is possible, but not recommended option user 'syncthing' - option logfile '/etc/syncthing/syncthing.log' + option logfile '/var/log/syncthing.log' option log_max_old_files 7 # Size in bytes option log_max_size 1048576 diff --git a/utils/syncthing/files/syncthing.init b/utils/syncthing/files/syncthing.init index 9fa1ddf4023209..6cc907c284102b 100644 --- a/utils/syncthing/files/syncthing.init +++ b/utils/syncthing/files/syncthing.init @@ -48,7 +48,7 @@ start_service() { local enabled=0 local gui_address="http://0.0.0.0:8384" local home="/etc/syncthing" - local logfile="/etc/syncthing/syncthing.log" + local logfile="/var/log/syncthing.log" local macprocs=0 local nice=0 local user="syncthing"