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