da0b78c67a
The systemd exit code definitions (introduced in
|
||
---|---|---|
.. | ||
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.