systemd/services/user
This commit is contained in:
parent
73a12548ea
commit
68167ecda8
2 changed files with 17 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
#######
|
|
||||||
SystemD
|
SystemD
|
||||||
#######
|
=======
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
|
||||||
system
|
system
|
||||||
|
services
|
||||||
journal
|
journal
|
||||||
|
|
15
in/public/init/systemd/services.rst
Normal file
15
in/public/init/systemd/services.rst
Normal file
|
@ -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
|
Loading…
Reference in a new issue