Module: MutagenSocketTidy
- Included in:
- Takelage::MutagenSocket
- Defined in:
- lib/takelage/mutagen/socket/tidy.rb
Overview
takelage mutagen socket tidy
Instance Method Summary collapse
-
#mutagen_socket_tidy ⇒ Object
Backend method for mutagen socket tidy.
Instance Method Details
#mutagen_socket_tidy ⇒ Object
Backend method for mutagen socket tidy.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/takelage/mutagen/socket/tidy.rb', line 6 def mutagen_socket_tidy log.debug "Remove the mutagen daemon files in container \"#{@hostname}\"" container_existing = docker_container_check_existing @hostname cmd_remove = config.active['cmd_mutagen_forward_socket_remove'] return false unless container_existing && cmd_remove.empty? unless docker_container_command cmd_remove log.error "Unable to remove the mutagen daemon files in container \"#{@hostname}\"" return false end log.debug "Removed the mutagen daemon files in container \"#{@hostname}\"" true end |