From 3932884688613a6661e5789fff7e3f6e6bd06afc Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Tue, 10 Feb 2015 09:11:20 +0100 Subject: [PATCH] Drop systemd README instruction in favor of the wiki --- etc/linux-systemd/README.md | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/etc/linux-systemd/README.md b/etc/linux-systemd/README.md index 030e7134b..7d7bc25ba 100644 --- a/etc/linux-systemd/README.md +++ b/etc/linux-systemd/README.md @@ -1,27 +1,8 @@ -This directory contains a configuration for running syncthing under the +# Systemd Configuration + +This directory contains configuration files for running syncthing under the "systemd" service manager on Linux both under either a systemd system service or -systemd user service. +systemd user service. For further documentation take a look at the [systemd +section][1] on the Github Wiki. - 1. Install systemd. - - 2. If you are running this as a system level service: - - 1. Create the user you will be running the service as (foo in this example). - - 2. Copy the syncthing@.service files to /etc/systemd/system - - 3. Enable and start the service - systemctl enable syncthing@foo.service - systemctl start syncthing@foo.service - - 3. If you are running this as a user level service: - - 1. Log in as the user you will be running the service as - - 2. Copy the syncthing.service files to /etc/systemd/user - - 3. Enable and start the service - systemctl --user enable syncthing.service - systemctl --user start syncthing.service - -Log output is sent to the journal. +[1]: https://github.com/syncthing/syncthing/wiki/Autostart-syncthing#systemd