wiki-how.md
... ...
@@ -2,9 +2,11 @@
2 2
How to run containers using systemctl as user even when user is logged out
3 3
--------------------------------------------------------------------------
4 4
5
+```
5 6
# In order to enable executing process with logged out shell
6 7
loginctl enable-linger user
7 8
# Move to user systemd dir
8 9
cd ~/.config/systemd/user/
9 10
# Generate systemd files for container
10
-podman generate systemd --restart-policy=always -t 1 --name container_name --files
... ...
\ No newline at end of file
0
+podman generate systemd --restart-policy=always -t 1 --name container_name --files`
1
+```
... ...
\ No newline at end of file