summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Bornschein2022-11-22 09:08:55 +0100
committerFabian Bornschein2022-11-22 09:08:55 +0100
commite084a9f60433790ef34fcc3c59b5f6effc6fd0bb (patch)
tree64fafade364a865f745f2f8ece72b79c0e239068
parent787ae964ba5ceb3600c21f752f4d34d46f9f9f9d (diff)
downloadaur-e084a9f60433790ef34fcc3c59b5f6effc6fd0bb.tar.gz
Fix systemd service reload on update
-rw-r--r--asusctl.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/asusctl.install b/asusctl.install
index 27bd15b8bf8f..5805afd01d24 100644
--- a/asusctl.install
+++ b/asusctl.install
@@ -2,11 +2,13 @@ post_upgrade() {
if [ $(systemctl is-active asusd.service) == "active" ]
then
printf ":: asusd is running, and requires a restart of the serviceā€¦\n"
+ systemctl daemon-reload
systemctl restart asusd.service
fi
if [ $(systemctl is-active asusd-nohwdep.service) == "active" ]
then
printf ":: asusd is running, and requires a restart of the serviceā€¦\n"
+ systemctl daemon-reload
systemctl restart asusd-nohwdep.service
fi
}