feat(doc): Add systemd user service messages
authorbaltakatei <baltakatei@vensagusni-03-2020-W16-3>
Mon, 27 Apr 2020 16:59:20 +0000 (09:59 -0700)
committerbaltakatei <baltakatei@vensagusni-03-2020-W16-3>
Mon, 27 Apr 2020 16:59:20 +0000 (09:59 -0700)
Add example messages returned to user after runing the
`systemctl` commands to enable and start a user service.
Commands were added from a virtual image of Debian 10
after following the instruction steps.

config-shared/syncthing/INSTRUCTIONS.md

index c63cd7de1fd62a7544ae448e35c29ac4a822f2e3..81842be8139d0cbb8d3c0d92bd325fefdb17b151 100644 (file)
@@ -86,12 +86,27 @@ The commands to create a `systemd` user service under user
 `baltakatei` are:
 
     $ systemctl --user enable syncthing.service
-       $ systemctl --user start syncthing.service
+    $ systemctl --user start syncthing.service
+
+The following notifications may appear while running these commands:
+
+    Created symlink /home/baltakatei/.config/systemd/user/default.target.wants/syncthing.service → /usr/lib/systemd/user/syncthing.service.
 
 The status of the new user service can be verified via:
 
     $ systemctl --user status syncthing.service
 
+The resulting status data will resemble:
+
+    $ systemctl --user status syncthing.service
+    ● syncthing.service - Syncthing - Open Source Continuous File Synchronization
+       Loaded: loaded (/usr/lib/systemd/user/syncthing.service; enabled; vendor preset: enabled)
+       Active: active (running) since Mon 2020-04-27 09:57:08 PDT; 14s ago
+        Docs: man:syncthing(1)
+     Main PID: 3284 (syncthing)
+       CGroup: /user.slice/user-1000.slice/user@1000.service/syncthing.service
+              └─3284 /usr/bin/syncthing -no-browser -no-restart -logflags=0
+
 ## 3. References
 - <a name="syncthing_20200331_autostart">1.</a> ["Starting Syncthing Automatically"][1]. Date: 2020-03-31. [syncthing.net](https://syncthing.net). Date Accessed: 2020-04-27. [Archive link](https://web.archive.org/web/20200414114635/https://docs.syncthing.net/users/autostart.html). Archive date: 2017-04-14.