Skip to content

Commit

Permalink
Update caddy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 authored Nov 23, 2020
1 parent f7c51ca commit a034564
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caddy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ fail () { echo $1 >&2; exit 1; }

wget -qO- https://caddy.fast.ai | bash
mv caddy /usr/bin/
wget -q https://github.com/caddyserver/dist/blob/master/init/caddy.service
mv caddy.service /etc/systemd/system/

groupadd --system caddy
useradd --system --gid caddy --create-home --home-dir /var/lib/caddy --shell /usr/sbin/nologin caddy
Expand Down

0 comments on commit a034564

Please sign in to comment.