jeelink2mqtt_install_services.sh 322 B

12345678
  1. #!/bin/sh
  2. sudo cp jeelink2mqtt.service /lib/systemd/system
  3. sudo cp jeelink2mqtt_wdog.service /lib/systemd/system
  4. sudo systemctl daemon-reload
  5. sudo systemctl enable jeelink2mqtt.service
  6. sudo systemctl enable jeelink2mqtt_wdog.service
  7. sudo systemctl start jeelink2mqtt.service
  8. sudo systemctl start jeelink2mqtt_wdog.service