Browse Source

chore(package): daemon-reload after upgrade

Mustafa Arici 8 years ago
parent
commit
64977837e2
1 changed files with 1 additions and 1 deletions
  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