caddy-retired/systemd/persist

4 lines
63 B
Bash

#!/bin/bash
CONF=${1:-caddy}
sudo systemctl enable caddy@$CONF