fpm postinst now restarts daemon

closes #446
This commit is contained in:
Jan-Piet Mens
2024-07-23 11:58:01 +02:00
parent 488eabe3e3
commit 719cc3c8ab
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ case "$1" in
if [ -x /bin/systemctl ]; then
install -m644 /usr/share/doc/ot-recorder/ot-recorder.service /etc/systemd/system/ot-recorder.service
systemctl --system daemon-reload || exit 0 # catch failure in docker setup
systemctl restart ot-recorder || exit 0
fi
;;
+1
View File
@@ -28,6 +28,7 @@ case "$1" in
if [ -x /bin/systemctl ]; then
install -m644 /usr/share/doc/ot-recorder/ot-recorder.service /etc/systemd/system/ot-recorder.service
systemctl --system daemon-reload || exit 0 # catch failure in docker setup
systemctl restart ot-recorder || exit 0
fi
;;