caddy-retired/systemd/stop

6 lines
156 B
Plaintext
Raw Permalink Normal View History

2020-05-12 14:51:19 -07:00
#!/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