Skip to content

Commit 4ef2270

Browse files
committed
fix(registry): run pkill as registry user, removing "-u"
The registry reload script had been broken since the busybox / alpine linux version of `pkill` didn't understand the `-u` flag.
1 parent 01110f2 commit 4ef2270

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

registry/bin/reload

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
# Send SIGHUP to gunicorn in general, since we didn't launch it with `--pid`
4-
pkill -HUP -u gunicorn
4+
sudo -u registry pkill -HUP -f gunicorn || true

0 commit comments

Comments
 (0)