Explorar o código

chore(package): daemon-reload after upgrade

Mustafa Arici %!s(int64=8) %!d(string=hai) anos
pai
achega
64977837e2
Modificáronse 1 ficheiros con 1 adicións e 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