Skip to content

Commit bf74764

Browse files
committed
fix zenith-proxy systemd unitfile to use appliances_state_dir for ssh key
1 parent 41fce27 commit bf74764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/zenith_proxy/templates/client.service.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ExecStart=/usr/bin/podman run \
2424
--name {{ zenith_proxy_client_container_name }} \
2525
--security-opt label=disable \
2626
--volume /etc/zenith/{{ zenith_proxy_service_name }}:/etc/zenith:ro \
27-
--volume {{ zenith_proxy_service_name }}-ssh:/home/zenith/.ssh \
27+
--volume {{ appliances_state_dir }}/{{ zenith_proxy_service_name }}-ssh:/home/zenith/.ssh \
2828
{{ zenith_proxy_client_image }}
2929
ExecStop=/usr/bin/podman stop --ignore -t 10 {{ zenith_proxy_client_container_name }}
3030
ExecStopPost=/usr/bin/podman rm --ignore -f {{ zenith_proxy_client_container_name }}

0 commit comments

Comments
 (0)