caddy-retired/systemd/install

6 lines
172 B
Plaintext
Raw Normal View History

2020-05-12 14:51:19 -07:00
#!/bin/bash
# copies template to systemd
2020-05-12 14:51:19 -07:00
DIR="$(dirname "$(readlink -f "$0")")"
sudo rm /etc/systemd/system/caddy@.service
sudo cp $DIR/caddy@.service /etc/systemd/system/