Browse Source

chore(package): daemon-reload after upgrade

Mustafa Arici 8 năm trước cách đây
mục cha
commit
64977837e2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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