[Service]
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
Restart=always
User=mosquitto

[Unit]
After=network-online.target

[Install]
WantedBy=multi-user.target