Skip to content

Commit

Permalink
Merge pull request #210 from GhostWriters/orphans
Browse files Browse the repository at this point in the history
Remove orphans with compose up
  • Loading branch information
nemchik committed Sep 7, 2018
2 parents a83eaab + c6b0f47 commit 6811fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ run_compose() {
PGID=$(run_script 'env_get' PGID)
run_script 'set_permissions' "${SCRIPTPATH}" "${PUID}" "${PGID}"
cd "${SCRIPTPATH}/compose/" || fatal "Unable to change directory to ${SCRIPTPATH}/compose/"
su -c "docker-compose up -d" "${DETECTED_UNAME}"
su -c "docker-compose up -d --remove-orphans" "${DETECTED_UNAME}"
cd "${SCRIPTPATH}" || fatal "Unable to change directory to ${SCRIPTPATH}"
break
;;
Expand Down

0 comments on commit 6811fd8

Please sign in to comment.