services-garbaye/podman-peerjs/70_disable.sh

13 lines
277 B
Bash
Raw Normal View History

2021-05-04 20:14:08 +00:00
#!/usr/bin/env bash
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
source ${ABSDIR}/../functions.sh
source ${ABSDIR}/vars.sh
ensure_pwd_is_scriptdir
ensure_not_root
podman stop ${container_name}
systemctl --user disable ${service_name}
systemctl --user stop ${service_name}