Removes a deployed _server.yml application from the server.
Arguments
- droplet
The droplet on which to act.
- path
The path/name of the application to remove.
- delete
If
TRUE, also deletes the application files. IfFALSE, just stops and disables the service.- ...
additional arguments to pass to
analogsea::droplet_ssh().
Examples
if (FALSE) { # \dontrun{
droplet <- analogsea::droplet(123456)
# Stop the service but keep files
do_remove_server(droplet, "myapp", delete = FALSE)
# Remove the service and delete all files
do_remove_server(droplet, "myapp", delete = TRUE)
} # }