mirror of
https://github.com/containers/podman.git
synced 2025-09-19 23:03:16 +08:00
"pod" was being truncated to "po" in the names of the generated systemd unit files.
s/po/pod Signed-off-by: Gavin Campbell <gavin@gavincampbell.dev>
This commit is contained in:
@ -163,10 +163,10 @@ $ podman generate systemd --files --name systemd-pod
|
|||||||
# Copy all the generated files.
|
# Copy all the generated files.
|
||||||
|
|
||||||
$ sudo cp pod-systemd-pod.service container-great_payne.service /usr/lib/systemd/system
|
$ sudo cp pod-systemd-pod.service container-great_payne.service /usr/lib/systemd/system
|
||||||
$ systemctl enable pod-systemd-po.service
|
$ systemctl enable pod-systemd-pod.service
|
||||||
Created symlink /etc/systemd/system/multi-user.target.wants/pod-systemd-po.service → /usr/lib/systemd/system/pod-systemd-po.service.
|
Created symlink /etc/systemd/system/multi-user.target.wants/pod-systemd-pod.service → /usr/lib/systemd/system/pod-systemd-pod.service.
|
||||||
Created symlink /etc/systemd/system/default.target.wants/pod-systemd-po.service → /usr/lib/systemd/system/pod-systemd-po.service.
|
Created symlink /etc/systemd/system/default.target.wants/pod-systemd-pod.service → /usr/lib/systemd/system/pod-systemd-pod.service.
|
||||||
$ systemctl is-enabled pod-systemd-po.service
|
$ systemctl is-enabled pod-systemd-pod.service
|
||||||
enabled
|
enabled
|
||||||
```
|
```
|
||||||
To run the user services placed in `$HOME/.config/systemd/user/` on first login of that user, enable the service with --user flag.
|
To run the user services placed in `$HOME/.config/systemd/user/` on first login of that user, enable the service with --user flag.
|
||||||
|
Reference in New Issue
Block a user