1 SYSTEMD_SCRIPT_DIR=$( cd $(dirname "${BASH_SOURCE:=$0}") && pwd)
2 cp -f "$SYSTEMD_SCRIPT_DIR/noolite_mtrf_mqtt.service" /lib/systemd/system
3 chown root:root /lib/systemd/system/noolite_mtrf_mqtt.service
5 systemctl daemon-reload
6 systemctl enable noolite_mtrf_mqtt.service