mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-27 16:57:21 +00:00
@@ -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
|
||||
;;
|
||||
|
||||
|
||||
@@ -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
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user