Created
June 11, 2023 21:15
-
-
Save TGion/caf442def7f5bd871c3b971044c759a9 to your computer and use it in GitHub Desktop.
Redirect stdout and stderr to /dev/null - Silent restart for nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/usr/sbin/service nginx restart>/dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment