3ea93f52ee
Syncthing should not try to start a browser when invoked by systemd. Furthermore we do not need any timestamps in the journal as systemd already handles this for us. |
||
---|---|---|
.. | ||
system | ||
user | ||
README.md |
This directory contains a configuration for running syncthing under the "systemd" service manager on Linux both under either a systemd system service or systemd user service.
-
Install systemd.
-
If you are running this as a system level service:
-
Create the user you will be running the service as (foo in this example).
-
Copy the syncthing@.service files to /etc/systemd/system
-
Enable and start the service systemctl enable syncthing@foo.service systemctl start syncthing@foo.service
-
If you are running this as a user level service:
-
Log in as the user you will be running the service as
-
Copy the syncthing.service files to /etc/systemd/user
-
Enable and start the service systemctl --user enable syncthing.service systemctl --user start syncthing.service
Log output is sent to the journal.