From 68167ecda88b4c6a436c01fd0af5b838474ca76f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 5 Aug 2018 22:50:28 +0200 Subject: [PATCH] systemd/services/user --- in/public/init/systemd/index.rst | 4 ++-- in/public/init/systemd/services.rst | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 in/public/init/systemd/services.rst diff --git a/in/public/init/systemd/index.rst b/in/public/init/systemd/index.rst index fbebc14..e5beb55 100644 --- a/in/public/init/systemd/index.rst +++ b/in/public/init/systemd/index.rst @@ -1,8 +1,8 @@ -####### SystemD -####### +======= .. toctree:: system + services journal diff --git a/in/public/init/systemd/services.rst b/in/public/init/systemd/services.rst new file mode 100644 index 0000000..545f96f --- /dev/null +++ b/in/public/init/systemd/services.rst @@ -0,0 +1,15 @@ +Services +======== + +user +---- + +.. code:: shell + + systemctl --user enable name.service + loginctl enable-linger + systemctl --user start name.service + +.. info:: + + enable-linger prevents daemon to be killed at session exit