caddy-retired/systemd/start

7 lines
157 B
Plaintext
Raw Permalink Normal View History

2020-05-12 14:51:19 -07:00
#!/bin/bash
CONF=${1:-caddy}
2020-05-12 14:51:19 -07:00
sudo systemctl daemon-reload
sudo systemctl stop caddy@$CONF
sudo systemctl start caddy@$CONF
sudo systemctl status caddy@$CONF