Skip to content

Instantly share code, notes, and snippets.

@mgla
Created March 29, 2017 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgla/3e04a06bc21e6def88133917def56e9f to your computer and use it in GitHub Desktop.
Save mgla/3e04a06bc21e6def88133917def56e9f to your computer and use it in GitHub Desktop.
--- /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
;;
@mgla
Copy link
Author

mgla commented Mar 29, 2017

Varnish init script patch for varnishcache/pkg-varnish-cache#26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment