caddy-retired/systemd/install

6 lines
172 B
Bash

#!/bin/bash
# copies template to systemd
DIR="$(dirname "$(readlink -f "$0")")"
sudo rm /etc/systemd/system/caddy@.service
sudo cp $DIR/caddy@.service /etc/systemd/system/