Hi !
the documentation says this: GOMAXPROCS Set the maximum number of CPU cores to use. Defaults to all available CPU cores.
@Alex: to start syncthings automatically, I have followed some howto.
Basically it says to create /etc/systemd/system/syncthing@.service
with this content:
[Unit]
Description=Syncthing - Open Source Continuous File Synchronization for %I
Documentation=man:syncthing(1)
After=network.target
Wants=syncthing-inotify@.service
[Service]
User=%i
ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0
Restart=on-failure
SuccessExitStatus=3 4
RestartForceExitStatus=3 4
UMask=0002
[Install]
WantedBy=multi-user.target
and then a couple of systemctl commands:
systemctl enable syncthing@Toto.service
systemctl start syncthing@Toto.service
(replace Toto with username)
But I’m not expert enought to understand exactly what it does and how to add niceness and gomaxprocs on this setup.