caddy-retired/systemd/start

7 lines
157 B
Bash

#!/bin/bash
CONF=${1:-caddy}
sudo systemctl daemon-reload
sudo systemctl stop caddy@$CONF
sudo systemctl start caddy@$CONF
sudo systemctl status caddy@$CONF