2
0
Fork 0

sh.zio.pod-systemd: fix directory for user services

main
Astra 2023-09-04 17:16:27 +01:00
parent 0eef5c3580
commit d4b2981b18
1 changed files with 1 additions and 1 deletions

View File

@ -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"