Skip to content

Commit 0121983

Browse files
committed
Adjust clean_finish() func in dehydrated wrapper to use new add-water service.
1 parent e1b249d commit 0121983

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins.d/Lets_Encrypt/dehydrated-wrapper

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ clean_finish() {
142142
if [ "$(check_80)" = "python" ]; then
143143
warning "Python is still listening on port 80"
144144
info "attempting to kill add-water server"
145-
[ -f "$HTTP_PID" ] && kill -9 $(cat $HTTP_PID)
146-
rm -f $HTTP_PID
145+
systemctl stop add-water
147146
fi
148147
[ "$AUTHBIND_USR" = "$HTTP_USR" ] || chown $AUTHBIND_USR $AUTHBIND80
149148
if [ $EXIT_CODE -ne 0 ]; then

0 commit comments

Comments
 (0)