mirror of https://github.com/containers/podman.git
systemd: compatible with rootless mode
- change the type to forking to allow fork. - add default.target for user systemd service Signed-off-by: Easton Man <manyang.me@outlook.com>
This commit is contained in:
parent
e0ffc431fe
commit
12d0a85091
|
@ -5,8 +5,9 @@ StartLimitIntervalSec=0
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
Environment=LOGGING="--log-level=info"
|
||||
ExecStart=@@PODMAN@@ $LOGGING start --all --filter restart-policy=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target default.target
|
||||
|
|
Loading…
Reference in New Issue