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