summarylogtreecommitdiffstats
path: root/cellframe-dashboard.install
diff options
context:
space:
mode:
authorMika Hyttinen2024-06-19 04:41:54 +0300
committerMika Hyttinen2024-06-19 04:41:54 +0300
commit5529c253d337f3f984c684f6b4b67c5040e72eae (patch)
tree522a696de4c54d48660e11e8ac1137b1c2357350 /cellframe-dashboard.install
parent86f43b84611c8e2ead75bdb3081e6f92dca0e423 (diff)
downloadaur-5529c253d337f3f984c684f6b4b67c5040e72eae.tar.gz
Update to 2.15.15
Diffstat (limited to 'cellframe-dashboard.install')
-rw-r--r--cellframe-dashboard.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/cellframe-dashboard.install b/cellframe-dashboard.install
index 9754103d1784..9aecb194a0a1 100644
--- a/cellframe-dashboard.install
+++ b/cellframe-dashboard.install
@@ -72,7 +72,7 @@ post_install() {
pre_upgrade() {
for _active in cellframe-dashboard.service cellframe-node.service cellframe-node-logrotate.timer
do
- systemctl is-active --quiet $_active.service && systemctl stop $_active.service && echo "+++ Stopped $_active service..."
+ systemctl is-active --quiet $_active.service && systemctl stop --quiet $_active.service && echo "+++ Stopped $_active service..."
done
}
@@ -80,7 +80,7 @@ post_upgrade() {
systemctl daemon-reload
for _active in cellframe-dashboard.service cellframe-node.service cellframe-node-logrotate.timer
do
- systemctl is-enabled --quiet $_active && systemctl start $_active && echo "+++ Started $_active..."
+ systemctl is-enabled --quiet $_active && systemctl restart --quiet $_active && echo "+++ Started $_active..."
done
_showmsg
}