Skip to content

Commit

Permalink
Merge pull request #164 from sksat/remove-installed-files-after-stop
Browse files Browse the repository at this point in the history
Remove installed files after stop systemd service
  • Loading branch information
sksat authored Sep 18, 2023
2 parents a5b765b + 9e0b759 commit e76a7a7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions compose-cd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

COMPOSE_CD_VER_MAJOR='0'
COMPOSE_CD_VER_MINOR='6'
COMPOSE_CD_VER_PATCH='0'
COMPOSE_CD_VER_PATCH='1'
COMPOSE_CD_VER_PRE=''

#function docker-compose(){
Expand Down Expand Up @@ -589,12 +589,13 @@ EOS
function uninstall() {
echo "uninstall"

rm /usr/bin/compose-cd
rm -r /etc/compose-cd

systemctl stop compose-cd.timer
systemctl stop compose-cd.service
systemctl stop compose-cd-cleanup.timer

rm /usr/bin/compose-cd
rm -r /etc/compose-cd

rm /etc/systemd/system/compose-cd.timer
rm /etc/systemd/system/compose-cd.service
rm /etc/systemd/system/compose-cd-cleanup.timer
Expand Down

0 comments on commit e76a7a7

Please sign in to comment.