sh.zio.pod-systemd: fix directory for user services
parent
0eef5c3580
commit
d4b2981b18
|
@ -15,7 +15,7 @@ if [[ $(id -u) = 0 ]]; then
|
|||
systemctl enable --now container-$service_name
|
||||
say primary "System service file for $service_name created, enabled and started"
|
||||
else
|
||||
podman generate systemd -n --new $service_name > "$HOME/.local/share/systemd/user/container-$service_name.service"
|
||||
podman generate systemd -n --new $service_name > "$HOME/.config/systemd/user/container-$service_name.service"
|
||||
systemctl --user daemon-reload
|
||||
systemctl enable --user --now container-$service_name
|
||||
say primary "User service file for $service_name created, enabled and started"
|
||||
|
|
Loading…
Reference in New Issue