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