Commit 84494c63 authored by Noah Prail's avatar Noah Prail

Improved service

parent 0161f60c
Pipeline #2562 failed with stages
in 1 minute and 31 seconds
caddy*
!caddy.service
!caddy.conf
\ No newline at end of file
caddy*.deb
caddy-*
bin/
!*.service
!*.conf
\ No newline at end of file
:80 {
gzip
root /usr/share/caddy
}
import conf.d/*.conf
\ No newline at end of file
import conf.d/*.conf
......@@ -14,7 +14,8 @@ Readme: README.md
Files: caddy /usr/local/bin/
index.html /usr/share/caddy/
caddy.service /etc/systemd/system/
caddy.conf /etc/caddy/
conf/caddy.conf /etc/caddy/
conf/default-site.conf /etc/caddy/conf.d
Preinst: debian/preinst
Postinst: debian/postinst
Description: Caddy is the HTTP/2 web server with automatic HTTPS.
......@@ -2,7 +2,6 @@
set -e
systemctl start caddy.service
chown root:root /usr/local/bin/caddy
chmod 755 /usr/local/bin/caddy
......@@ -52,4 +51,7 @@ case "$1" in
*)
;;
esac
\ No newline at end of file
esac
systemctl daemon-reload
systemctl start caddy.service
\ No newline at end of file
:80 {
gzip
root /usr/share/caddy
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment