I'm trying to trigger a reload of the Nginx master process by using
The server reloads fine, but I was just curious if anyone knows why the command
sudo pkill -HUP -f "nginx: master process" returns code 129?
# Running as root $ pkill -HUP -f "nginx: master process" $ echo $? # Output is as expected: 0 # Running as a user (sudo is set to not prompt for a password) % sudo pkill -HUP -f "nginx: master process % echo $? # Output is weird (considering sudo should be passing along the return # code of the command it is executing): 129
Running on Ubuntu 12.04.1 LTS running on EC2 ... surprisingly Ubuntu 12.04.1 LTS running on a physical computer (not installed using cloud images) runs fine.