caddy-retired/systemd/stop

6 lines
156 B
Bash

#!/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