Comments (4)
This is definitely not an mqtt-launcher
issue.
You might want to add -t
to ssh; maybe your shutdown requires a tty.
from mqtt-launcher.
Thanks, I'll try that.
But what would be the actual difference of the command when program and arguments are
a)
[ 'ssh -i /home/user/.ssh/ssh_privatekey user@nas-hostname /share/homes/admin/shutdown.sh', '' ]
or b)
[ 'ssh -i /home/user/.ssh/ssh_privatekey user@nas-hostname' ,'/share/homes/admin/shutdown.sh' ]
Wouldn't it be equal?
from mqtt-launcher.
Look at the examples in the README; each argument is separate, so in your example you'd need
[ 'ssh', '-i', '....', 'user@nas', .......
]
from mqtt-launcher.
Yes, it seems that it worked
Thanks a lot!
from mqtt-launcher.
Related Issues (20)
- Run as SystemD Service HOT 4
- Difficulty running python script with mqtt-launcher HOT 9
- "Command returned non-zero exit status 2" HOT 2
- Seems to be missing mqtt messages HOT 1
- Open URL in Default Browser HOT 2
- What causes this loop? HOT 1
- bash script will not execute HOT 8
- Commands not being actioned HOT 7
- Keepalive, timeout and client disconnection HOT 3
- Possible to run programs in the background? HOT 1
- transfer number from topic to exec HOT 2
- Don't know why the command is not executed HOT 7
- Not a real issue - more a problem - maybe depends on Subprocess - Killall does not work in MQTT Command. HOT 11
- No matching param... HOT 2
- Usage of individual payload within arguments HOT 1
- Usage of payload within arguments HOT 1
- Script work under Windows with Python HOT 8
- Blocking commands result in queued actions.
- json support HOT 3
- Program arguments from payload HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqtt-launcher.