Skip to content
Snippets Groups Projects
Commit ac017406 authored by Alberto LIVIO BECCARIA's avatar Alberto LIVIO BECCARIA
Browse files

Aggiunti servizio e comando MQTT

parent 59e7d039
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#/usr/local/bin/lm-subscriber -b penelope.di.unipmn.it -t "lab98/config" -c "echo reboot..." -f /local/config_name \
/usr/local/bin/lm-subscriber -b penelope.di.unipmn.it -t "lab98/config" -c "/usr/libexec/labmanager/get-config start" -f /local/config_name \
--port 8883 \
--auth-user sub_client \
--auth-pwd zse45rdx \
--ca-cert /etc/ssl/certs/mqtt_ca.crt \
-l DEBUG
[Unit]
Description=Subscriber to LabManager MQTT server
After=network-online.target esamesync-esame.service
Wants=network-online.target esamesync-esame.service
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/subscribe
#ExecStop=
[Install]
WantedBy=esame.target graphical.target esamekiosk.target esameshow.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment