Explorar el Código

chore(package): daemon-reload after upgrade

Mustafa Arici hace 8 años
padre
commit
64977837e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      contrib/afterupgrade.sh

+ 1 - 1
contrib/afterupgrade.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
+systemctl daemon-reload
 if [ "`systemctl is-active ovpmd`" != "active" ]
 then
-    systemctl daemon-reload
     systemctl restart ovpmd
 fi