From: baltakatei Date: Mon, 27 Apr 2020 16:59:20 +0000 (-0700) Subject: feat(doc): Add systemd user service messages X-Git-Tag: 0.1.0~21 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/4a404c7eb1433dc61d96013842e1b7326973653b?ds=sidebyside;hp=-c feat(doc): Add systemd user service messages 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. --- 4a404c7eb1433dc61d96013842e1b7326973653b diff --git a/config-shared/syncthing/INSTRUCTIONS.md b/config-shared/syncthing/INSTRUCTIONS.md index c63cd7d..81842be 100644 --- a/config-shared/syncthing/INSTRUCTIONS.md +++ b/config-shared/syncthing/INSTRUCTIONS.md @@ -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 - 1. ["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.