podman-peerjs fix
This commit is contained in:
parent
3dfeff9990
commit
8a07df0e52
|
@ -7,14 +7,6 @@ source ${ABSDIR}/vars.sh
|
||||||
ensure_pwd_is_scriptdir
|
ensure_pwd_is_scriptdir
|
||||||
ensure_not_root
|
ensure_not_root
|
||||||
|
|
||||||
if ! podman container exists ${container_name}; then
|
|
||||||
echo container ${container_name} must exist in order to add it to systemd
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ensure_systemd_as_user_dir_exists
|
|
||||||
podman generate systemd --name ${container_name} > ~/.config/systemd/user/${service_name}
|
|
||||||
|
|
||||||
podman stop ${container_name}
|
podman stop ${container_name}
|
||||||
systemctl --user disable ${service_name}
|
systemctl --user disable ${service_name}
|
||||||
systemctl --user stop ${service_name}
|
systemctl --user stop ${service_name}
|
||||||
|
|
Loading…
Reference in a new issue