浏览代码

chore(package): daemon-reload after upgrade

Mustafa Arici 8 年之前
父节点
当前提交
64977837e2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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