caddy-retired/systemd/stop

6 lines
156 B
Bash
Executable File

#!/bin/bash
CONF=${1:-caddy}
sudo systemctl stop caddy@$CONF
sudo systemctl status caddy@$CONF
sudo journalctl --unit=caddy@$CONF.service -n 100 --no-pager