Happy New Year! - First post of the year.
This is a post I had written back in October/2017, but since messing up the move from jekyll to hugo I had not gotten round to posting it.
Create directories for your user, so systemd will run it as that user:
mkdir -p ~/.config/systemd/user
Get the latest syncthing.service file and place it in:
As of now (End 2017), it looks like this:
[Unit] Description=Syncthing - Open Source Continuous File Synchronization Documentation=man:syncthing(1) Wants=syncthing-inotify.service [Service] ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0 Restart=on-failure SuccessExitStatus=3 4 RestartForceExitStatus=3 4 [Install] WantedBy=default.target
Enable and start, then check out https://127.0.0.1:8384/
systemctl --user enable syncthing.service systemctl --user start syncthing.service systemctl --user status syncthing.service
Also, to restart:
systemctl --user restart syncthing.service
ufw allow syncthing