summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormidnightix2021-07-30 19:01:27 +0800
committermidnightix2021-07-30 19:01:27 +0800
commit5a7517139a9c802628fd10315d06cfbf9566be32 (patch)
treee643b58206fdba29d5335431648f307fd0db7f36
parent5b457c1d0478caf1f683738f117afa40854e8d5f (diff)
downloadaur-5a7517139a9c802628fd10315d06cfbf9566be32.tar.gz
reload systemd after upgrade
-rw-r--r--clash-premium-tun.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/clash-premium-tun.install b/clash-premium-tun.install
index 89092af1a39b..e070bc31197b 100644
--- a/clash-premium-tun.install
+++ b/clash-premium-tun.install
@@ -14,7 +14,8 @@ post_install() {
}
post_upgrade() {
- systemctl restart clash
+ systemctl daemon-reload
+ systemctl restart clash
}
pre_remove() {