9 lines
190 B
Bash
9 lines
190 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
COMPOSE="docker compose --ansi never"
|
||
|
DOCKER="/usr/bin/docker"
|
||
|
|
||
|
cd /home/app/microblog/
|
||
|
$COMPOSE run certbot renew && $COMPOSE kill -s SIGHUP webserver
|
||
|
$DOCKER system prune -af
|