Created
March 29, 2017 09:51
-
-
Save mgla/3e04a06bc21e6def88133917def56e9f to your computer and use it in GitHub Desktop.
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
--- /etc/init.d/varnish 2017-02-09 13:25:38.000000000 +0000 | |
+++ /etc/init.d/varnish.new 2017-03-29 09:49:56.898745740 +0000 | |
@@ -137,12 +137,6 @@ | |
status_varnishd | |
;; | |
restart|force-reload) | |
- if status_of_proc -p "${PIDFILE}" "${DAEMON}" "${SERVICE}" 1>/dev/null; then | |
- if ! configtest; then | |
- log_failure_msg "Syntax check failed, not restarting" | |
- exit 1 | |
- fi | |
- fi | |
$0 stop | |
$0 start | |
;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Varnish init script patch for varnishcache/pkg-varnish-cache#26