MQTT, Mosquitto, Raspbian Jessie und der fiese Systemd-Autostart

MQTT, Mosquitto, Raspbian Jessie und der fiese Systemd-Autostart

Disclaimer: Ich hab keine Linuxerfahrung. Mit Google an meiner Seite, bekomme ich Dinge hin, die ich meistens nur halb verstehe. Also falls ich Blödsinn erzähle, bin ich dankbar für einen Hinweis. Immer wieder wenn ich bastle, sehen die Anleitungen super leicht aus – es dauert dann aber doch einen Tag bis alles läuft. Nicht anders war es bei meiner Mosquitto Installation. Die Hürde: kein Autostart. Meine Mosquitto-Config ist simpel und sie sieht wie folgt aus: # Config file for mosquitto # # See mosquitto.conf(5) for more information. # # Default values are shown, uncomment to change. # # Use the # character to indicate a comment, but only if it is the # very first character on the line. # ================================================================= # General configuration # ================================================================= # Write process id to a file. Default is a blank string which means # a pid file shouldn't be written. # This should be set to /var/run/mosquitto.pid if mosquitto is # being run automatically on boot with an init script and # start-stop-daemon or similar. pid_file /var/run/mosquitto.pid # When run as root, drop privileges to this user and its primary # group. # Leave blank to stay as root, but this is not recommended. # If run as a non-root user, this setting has no effect. # Note that on Windows this has no effect and so mosquitto should # be started by the user you wish it to run as. user mosquitto # ================================================================= # Persistence # ================================================================= # Save persistent message data to disk (true/false). # This saves information about all messages, including # subscriptions, currently in-flight messages and retained # messages. # retained_persistence...