Created
September 25, 2017 11:26
-
-
Save lbr88/785a344e8876b5f2a6bf57dfac2a19bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/systemd/system/mqtt-2-influxdb.service | |
[Unit] | |
Description=MQTT to Influxdb bridge | |
After=network.target | |
[Service] | |
Type=simple | |
User=lrasmussen | |
WorkingDirectory=/home/lrasmussen/mqtt-2-influxdb | |
ExecStart=/usr/bin/nodejs --use_strict ./app.js | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment