File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ trap "clean_exit" EXIT
24
24
# If the environment variable `DEBUG=1` is set, then this message is printed.
25
25
debug " Debug messages are enabled"
26
26
27
- # Immediately run 'auto_enable_configs' so that Nginx is in a runnable state
27
+ # Immediately symlink files to the correct locations and then run
28
+ # 'auto_enable_configs' so that Nginx is in a runnable state
28
29
# This will temporarily disable any misconfigured servers.
30
+ symlink_user_configs
29
31
auto_enable_configs
30
32
31
33
# Start Nginx without its daemon mode (and save its PID).
38
40
nginx -g " daemon off;" &
39
41
NGINX_PID=$!
40
42
fi
41
- sleep 1
42
43
43
44
info " Starting the certbot autorenewal service"
44
45
# Make sure a renewal interval is set before continuing.
You can’t perform that action at this time.
0 commit comments