[FIX] 2.2.1 version of caddy does not start with systemd on Ubuntu 18.04 #185
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated to 2.4.3
Signed-off-by: Mark Sharpley msh@Marks-MacBook-Pro.local
Description
updated install.sh to use 2.4.1 version of caddy.
Motivation and Context
Using this script with cloud init on Ubuntu 18.04. Systemd cannot start the service:
Caddy does not start using systemd #184
How Has This Been Tested?
Tested manually:
Also used my fork of faasd which includes the new version of caddy to bootstrap the instance:
ubuntu@faasd:~$ systemctl status caddy
● caddy.service - Caddy
Loaded: loaded (/etc/systemd/system/caddy.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-07-12 22:34:53 UTC; 30min ago
Docs: https://caddyserver.com/docs/
Main PID: 2813 (caddy)
Tasks: 8 (limit: 1120)
CGroup: /system.slice/caddy.service
└─2813 /usr/bin/caddy run --environ --config /etc/caddy/Caddyfile
Types of changes
Checklist:
Commits:
git commit -s
for the Developer Certificate of Origin (DCO)Code:
Docs: